aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-02-12 09:25:44 +0100
committerAnders Broman <a.broman58@gmail.com>2016-02-12 09:46:40 +0000
commit646e373d992d0100bd392ea09ac02c145e0187aa (patch)
treee52a326f2efb95ac2072a9ea438cd1736d06ac25
parente46585582c442498e39a1baa12a3356cb5bdc9e9 (diff)
file: fix variable ‘progbar’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] found by gcc6
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>
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 4f493dc61c..f576cb8d25 100644
--- 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;