git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30cb2d2
)
Fix "may be used uninitialized" compiler warnings.
author
James Peach
<jpeach@samba.org>
Sat, 22 Dec 2007 22:10:06 +0000
(14:10 -0800)
committer
James Peach
<jpeach@samba.org>
Sat, 22 Dec 2007 22:10:06 +0000
(14:10 -0800)
source/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source/auth/auth_util.c
b/source/auth/auth_util.c
index 373a2a375fa40272fdbef4862eeef15953c106e5..3f65e6b12679753edd1ac10870ab4498f486f987 100644
(file)
--- a/
source/auth/auth_util.c
+++ b/
source/auth/auth_util.c
@@
-1423,7
+1423,7
@@
NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx,
static const char zeros[16] = { 0, };
NTSTATUS nt_status = NT_STATUS_OK;
- char *found_username;
+ char *found_username
= NULL
;
const char *nt_domain;
const char *nt_username;
struct samu *sam_account = NULL;
@@
-1431,8
+1431,8
@@
NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx,
DOM_SID group_sid;
bool username_was_mapped;
- uid_t uid;
- gid_t gid;
+ uid_t uid
= (uid_t)-1
;
+ gid_t gid
= (gid_t)-1
;
auth_serversupplied_info *result;