git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f339c1f
)
s3:winbindd fix a compiler warning
author
Christian Ambach
<ambi@samba.org>
Sat, 22 Sep 2012 20:32:00 +0000
(13:32 -0700)
committer
Christian Ambach
<ambi@samba.org>
Sat, 22 Sep 2012 21:22:47 +0000
(23:22 +0200)
about result being potentially uninitialized
source3/winbindd/winbindd_sids_to_xids.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_sids_to_xids.c
b/source3/winbindd/winbindd_sids_to_xids.c
index 09d9a9b9231b142a5c98e50a9db440eb2a5ef0ac..ad021897e2742a57880eb5454d8d45b3d1a23c72 100644
(file)
--- 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)) {