From: Stefan Metzmacher Date: Tue, 10 Jun 2008 07:13:08 +0000 (+0200) Subject: Some C++ warnings X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=4933cd49ac81454cbd4b0fc33d888585a9437b9d;p=metze%2Fsamba%2Fwip.git Some C++ warnings (partialy cherry picked from commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d) metze --- diff --git a/source/lib/socket_wrapper/socket_wrapper.c b/source/lib/socket_wrapper/socket_wrapper.c index 981df523cddc..22186872d6fe 100644 --- 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;