s3:winbindd fix a compiler warning
authorChristian Ambach <ambi@samba.org>
Sun, 23 Sep 2012 03:44:41 +0000 (20:44 -0700)
committerChristian Ambach <ambi@samba.org>
Mon, 24 Sep 2012 01:49:53 +0000 (03:49 +0200)
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

source3/winbindd/winbindd_sids_to_xids.c

index ad021897e2742a57880eb5454d8d45b3d1a23c72..f500f248d4ae97eae7adcaa53dcdcbe15dc224ff 100644 (file)
@@ -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;