Fix warning that variable may be unused and then declare volatile so it

survives the TRY/CATCH code.


svn path=/trunk/; revision=29863
This commit is contained in:
Stephen Fisher 2009-09-11 15:38:33 +00:00
parent d69ac7dc4a
commit 5dfeb86fb7
1 changed files with 1 additions and 1 deletions

2
file.c
View File

@ -756,7 +756,7 @@ cf_continue_tail(capture_file *cf, volatile int to_read, int *err)
dfilter_t *dfcode;
gboolean filtering_tap_listeners;
guint tap_flags;
gboolean visible;
volatile gboolean visible = FALSE;
/* Compile the current display filter.
* We assume this will not fail since cf->dfilter is only set in