summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-09-22 20:44:41 -0700
committerChristian Ambach <ambi@samba.org>2012-09-24 03:49:53 +0200
commitf767059911460c0944d5e9289148a0776aeb97e5 (patch)
tree8a1b5854e96a40769897a9968640b61b9ee6c9f7 /source3
parent9f589ea4066099ed50e7f2323f572b3a8c98c60e (diff)
downloadsamba-f767059911460c0944d5e9289148a0776aeb97e5.tar.gz
samba-f767059911460c0944d5e9289148a0776aeb97e5.tar.bz2
samba-f767059911460c0944d5e9289148a0776aeb97e5.zip
s3:winbindd fix a compiler warning
about type potentially being used uninitialized Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Mon Sep 24 03:49:53 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_sids_to_xids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_sids_to_xids.c b/source3/winbindd/winbindd_sids_to_xids.c
index ad021897e2..f500f248d4 100644
--- a/source3/winbindd/winbindd_sids_to_xids.c
+++ b/source3/winbindd/winbindd_sids_to_xids.c
@@ -239,7 +239,7 @@ NTSTATUS winbindd_sids_to_xids_recv(struct tevent_req *req,
num_non_cached = 0;
for (i=0; i<state->num_sids; i++) {
- char type;
+ char type = '\0';
uint32_t unix_id = UINT32_MAX;
bool found = true;