diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-02-12 09:25:44 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-02-12 09:46:40 +0000 |
commit | 646e373d992d0100bd392ea09ac02c145e0187aa (patch) | |
tree | e52a326f2efb95ac2072a9ea438cd1736d06ac25 | |
parent | e46585582c442498e39a1baa12a3356cb5bdc9e9 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |