From: Stefan Metzmacher Date: Tue, 10 Jun 2008 07:13:08 +0000 (+0200) Subject: Some C++ warnings X-Git-Tag: samba-4.0.0alpha5~68^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4933cd49ac81454cbd4b0fc33d888585a9437b9d;p=thirdparty%2Fsamba.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 981df523cdd..22186872d6f 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;