summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-09-22 13:32:00 -0700
committerChristian Ambach <ambi@samba.org>2012-09-22 23:22:47 +0200
commit1b5256c184ec378783e6219b34b5a3e512c4df99 (patch)
tree88864c6c55340095e310e28b73df612874ccba20 /source3
parentf339c1fd91baaff1d727cda1a30b0963423dcb5b (diff)
downloadsamba-1b5256c184ec378783e6219b34b5a3e512c4df99.tar.gz
samba-1b5256c184ec378783e6219b34b5a3e512c4df99.tar.bz2
samba-1b5256c184ec378783e6219b34b5a3e512c4df99.zip
s3:winbindd fix a compiler warning
about result being potentially uninitialized
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 09d9a9b923..ad021897e2 100644
--- a/source3/winbindd/winbindd_sids_to_xids.c
+++ b/source3/winbindd/winbindd_sids_to_xids.c
@@ -223,7 +223,7 @@ NTSTATUS winbindd_sids_to_xids_recv(struct tevent_req *req,
struct winbindd_sids_to_xids_state *state = tevent_req_data(
req, struct winbindd_sids_to_xids_state);
NTSTATUS status;
- char *result;
+ char *result = NULL;
uint32_t i, num_non_cached;
if (tevent_req_is_nterror(req, &status)) {