git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b01206
)
Some C++ warnings
author
Stefan Metzmacher
<metze@samba.org>
Tue, 10 Jun 2008 07:13:08 +0000
(09:13 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 10 Jun 2008 07:13:08 +0000
(09:13 +0200)
(partialy cherry picked from commit
5ab82d4f574f2a2e2761e9e414c66a70aeffb05d
)
metze
source/lib/socket_wrapper/socket_wrapper.c
patch
|
blob
|
history
diff --git
a/source/lib/socket_wrapper/socket_wrapper.c
b/source/lib/socket_wrapper/socket_wrapper.c
index 981df523cddcd62ed9ffa2e1fd86abcebe909a6e..22186872d6fed31b4dd26135ea787b4925c4a5b2 100644
(file)
--- a/
source/lib/socket_wrapper/socket_wrapper.c
+++ b/
source/lib/socket_wrapper/socket_wrapper.c
@@
-697,8
+697,8
@@
static const char *socket_wrapper_pcap_file(void)
{
static int initialized = 0;
static const char *s = NULL;
- static const struct swrap_file_hdr h;
- static const struct swrap_packet p;
+ static const struct swrap_file_hdr h
= { 0, }
;
+ static const struct swrap_packet p
= { 0, }
;
if (initialized == 1) {
return s;