git.samba.org
/
obnox
/
cwrap
/
nss_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a952b
)
tests: Silence compiler warnings about uninitialized variables
author
Andreas Schneider
<asn@samba.org>
Mon, 16 Nov 2015 09:15:06 +0000
(10:15 +0100)
committer
Andreas Schneider
<asn@samba.org>
Mon, 16 Nov 2015 09:26:52 +0000
(10:26 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
tests/test_getaddrinfo.c
patch
|
blob
|
history
diff --git
a/tests/test_getaddrinfo.c
b/tests/test_getaddrinfo.c
index 06e686f2aa2a577c04b8e354bea505fccc2fa2d2..ea3e995e2e0e387cb7cdfed697fdf4fb67448491 100644
(file)
--- a/
tests/test_getaddrinfo.c
+++ b/
tests/test_getaddrinfo.c
@@
-442,8
+442,8
@@
static void test_nwrap_getaddrinfo_multiple_mixed(void **state)
struct sockaddr_in *r_addr;
struct sockaddr_in6 *r_addr6;
- const char *result;
- const char *value;
+ const char *result
= NULL
;
+ const char *value
= NULL
;
/* For inet_ntop call */
char buf[4096];