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

Fix initialization warnings.

Jeremy.
(cherry picked from commit 832c093830cb3978641be3d87670fa900105da25)
(This used to be commit 3a4198b1181d6b97804afebbb91dac5a8242f615)
This commit is contained in:
Jeremy Allison 2007-12-21 12:11:23 -08:00 committed by Stefan Metzmacher
parent c8100b48d1
commit 85087ce095

View File

@ -698,7 +698,7 @@ static const char *socket_wrapper_pcap_file(void)
static int initialized = 0;
static const char *s = NULL;
static const struct swrap_file_hdr h = { 0, };
static const struct swrap_packet p = { 0, };
static const struct swrap_packet p = { { 0, }, { { 0, }, { { 0, } } } };
if (initialized == 1) {
return s;