summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-06-10 09:13:08 +0200
committerStefan Metzmacher <metze@samba.org>2008-06-10 09:13:08 +0200
commitc8100b48d1a747b589779a129324e49590167ae8 (patch)
tree9092ecd0665e13e4430861e7113afae3b6b78f21 /source4/lib
parent47b106c0ae8b91c9cccfc21bf8e4e416b1abfd5d (diff)
downloadsamba-c8100b48d1a747b589779a129324e49590167ae8.tar.gz
samba-c8100b48d1a747b589779a129324e49590167ae8.tar.bz2
samba-c8100b48d1a747b589779a129324e49590167ae8.zip
Some C++ warnings
(partialy cherry picked from commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d) metze (This used to be commit 4933cd49ac81454cbd4b0fc33d888585a9437b9d)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/socket_wrapper/socket_wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/socket_wrapper/socket_wrapper.c b/source4/lib/socket_wrapper/socket_wrapper.c
index 981df523cd..22186872d6 100644
--- a/source4/lib/socket_wrapper/socket_wrapper.c
+++ b/source4/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;