From Eugene Bogush: Initialize read_err to 0 so mergecap works again. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6623

svn path=/trunk/; revision=40048
This commit is contained in:
Chris Maynard 2011-11-30 15:28:58 +00:00
parent f24e897094
commit 348c681918
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ main(int argc, char *argv[])
int i;
struct wtap_pkthdr *phdr, snap_phdr;
wtap_dumper *pdh;
int open_err, read_err, write_err, close_err;
int open_err, read_err=0, write_err, close_err;
gchar *err_info;
int err_fileno;
char *out_filename = NULL;