summaryrefslogtreecommitdiff
path: root/source3/lib/socket_wrapper
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-20 22:17:16 +0100
committerVolker Lendecke <vl@samba.org>2007-12-21 09:58:20 +0100
commitaddf598cde41d17ad4cf497a64b9a2b27e4028c5 (patch)
tree11b020444f0728e1745e2e2af29b81b55d8fc467 /source3/lib/socket_wrapper
parenteeb92cedde4bc45603be4fdcf2f53dd2cc29f1d0 (diff)
downloadsamba-addf598cde41d17ad4cf497a64b9a2b27e4028c5.tar.gz
samba-addf598cde41d17ad4cf497a64b9a2b27e4028c5.tar.bz2
samba-addf598cde41d17ad4cf497a64b9a2b27e4028c5.zip
Some C++ warnings
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
Diffstat (limited to 'source3/lib/socket_wrapper')
-rw-r--r--source3/lib/socket_wrapper/socket_wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/socket_wrapper/socket_wrapper.c b/source3/lib/socket_wrapper/socket_wrapper.c
index 3a72c5a74a..a84c460114 100644
--- a/source3/lib/socket_wrapper/socket_wrapper.c
+++ b/source3/lib/socket_wrapper/socket_wrapper.c
@@ -571,8 +571,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;