From e256fed975ddec5622344aa907a87a2f1aab646d Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Tue, 1 Sep 2009 11:15:24 +0000 Subject: [PATCH] Add volatile to avoid clobbered by longjmp warning. svn path=/trunk/; revision=29651 --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 0af94e6fda..54eebbbba7 100644 --- a/file.c +++ b/file.c @@ -472,7 +472,7 @@ cf_read(capture_file *cf) dfilter_t *dfcode; gboolean filtering_tap_listeners; guint tap_flags; - int count = 0; + volatile int count = 0; #ifdef HAVE_LIBPCAP volatile int displayed_once = 0; #endif