file: fix variable ‘progbar’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror...
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Fri, 12 Feb 2016 08:25:44 +0000 (09:25 +0100)
committerAnders Broman <a.broman58@gmail.com>
Fri, 12 Feb 2016 09:46:40 +0000 (09:46 +0000)
Change-Id: I24a2d48968826c079e696b8136d32929508a26dd
Reviewed-on: https://code.wireshark.org/review/13921
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
file.c

diff --git a/file.c b/file.c
index 4f493dc61c95edbbb67b5f04a46aba86baacbf77..f576cb8d256daf88b36cc7cd7b9b7d7682c98f95 100644 (file)
--- a/file.c
+++ b/file.c
@@ -521,7 +521,7 @@ cf_read(capture_file *cf, gboolean reloading)
   int                  err = 0;
   gchar               *err_info = NULL;
   gchar               *name_ptr;
-  progdlg_t           *progbar        = NULL;
+  progdlg_t           *volatile progbar = NULL;
   GTimeVal             start_time;
   epan_dissect_t       edt;
   dfilter_t           *dfcode;