From Eugene Bogush: Initialize read_err to 0 so mergecap works again. Fixes https...
authorChris Maynard <Christopher.Maynard@GTECH.COM>
Wed, 30 Nov 2011 15:28:58 +0000 (15:28 -0000)
committerChris Maynard <Christopher.Maynard@GTECH.COM>
Wed, 30 Nov 2011 15:28:58 +0000 (15:28 -0000)
svn path=/trunk/; revision=40048

mergecap.c

index 91b956d3d8c759a9957d423ccddc4bcfc48b6732..77bc156f965c09417a14c08421741d7dfc45b5f4 100644 (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;