s3:winbindd fix a compiler warning
[samba.git] / 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;