aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2011-11-14 11:36:53 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2011-11-14 11:36:53 +0000
commite31d76c4cd1f222406122909eceed5c49075d2e7 (patch)
tree904e0f2719f019dbb98646cd4ec010dbe6e04bd7 /tshark.c
parent75afa0bd3f1b12de0e58119f1b8925f86aaeb021 (diff)
Make exit_status volatile to avoid warning.
svn path=/trunk/; revision=39825
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 24e0dd3446..7a836f9406 100644
--- a/tshark.c
+++ b/tshark.c
@@ -803,7 +803,7 @@ main(int argc, char *argv[])
int gdp_open_errno, gdp_read_errno;
int dp_open_errno, dp_read_errno;
int err;
- int exit_status = 0;
+ volatile int exit_status = 0;
#ifdef HAVE_LIBPCAP
gboolean list_link_layer_types = FALSE;
gboolean start_capture = FALSE;