Initialize magic to avoid a warning about a possible uninitialized read.

svn path=/trunk/; revision=30188
This commit is contained in:
Stig Bjørlykke 2009-09-29 06:57:11 +00:00
parent e83dbefaaf
commit ee37f6194f
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ cap_pipe_open_live(char *pipename, struct pcap_hdr *hdr, loop_data *ld,
wchar_t *err_str;
#endif
#endif
guint32 magic;
guint32 magic = 0;
#ifndef _WIN32
ld->cap_pipe_fd = -1;