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:
parent
c8100b48d1
commit
85087ce095
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user