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:
f1acb0e
)
nwrap: Fix initialization of e entry
author
Andreas Schneider
<asn@samba.org>
Mon, 16 Nov 2015 09:17:39 +0000
(10:17 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 11 Jan 2016 11:25:31 +0000
(12:25 +0100)
This fixes a compiler warning.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/nss_wrapper/nss_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/nss_wrapper/nss_wrapper.c
b/lib/nss_wrapper/nss_wrapper.c
index 9a7fbf5110af0808f58cd38b6bf243174fef87d6..feb807a91f9232622c40a25e3332c74effafb94d 100644
(file)
--- a/
lib/nss_wrapper/nss_wrapper.c
+++ b/
lib/nss_wrapper/nss_wrapper.c
@@
-3518,7
+3518,9
@@
static int nwrap_files_getaddrinfo(const char *name,
size_t name_len;
char canon_name[DNS_NAME_MAX] = { 0 };
bool skip_canonname = false;
- ENTRY e = { 0 };
+ ENTRY e = {
+ .key = NULL,
+ };
ENTRY *e_p = NULL;
int rc;
bool ok;