From: Christian Ambach Date: Sun, 23 Sep 2012 03:44:41 +0000 (-0700) Subject: s3:winbindd fix a compiler warning X-Git-Tag: talloc-2.0.8~184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f767059911460c0944d5e9289148a0776aeb97e5;p=thirdparty%2Fsamba.git s3:winbindd fix a compiler warning about type potentially being used uninitialized Autobuild-User(master): Christian Ambach Autobuild-Date(master): Mon Sep 24 03:49:53 CEST 2012 on sn-devel-104 --- diff --git a/source3/winbindd/winbindd_sids_to_xids.c b/source3/winbindd/winbindd_sids_to_xids.c index ad021897e27..f500f248d4a 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; inum_sids; i++) { - char type; + char type = '\0'; uint32_t unix_id = UINT32_MAX; bool found = true;