1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

Some C++ warnings

(partialy cherry picked from commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)

metze
(This used to be commit 4933cd49ac81454cbd4b0fc33d888585a9437b9d)
This commit is contained in:
Stefan Metzmacher 2008-06-10 09:13:08 +02:00
parent 47b106c0ae
commit c8100b48d1

View File

@ -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;