From 26384027279238087df4e2133d1b0708a81df141 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 26 May 2015 01:53:38 -0700 Subject: Fix variable that needs to survive a longjmp(). Pointed out by a warning in a compilation for ARM. Change-Id: Iab2748adbdc88c9e6749da1c3835896683a1a091 Reviewed-on: https://code.wireshark.org/review/8648 Reviewed-by: Guy Harris --- epan/dissectors/packet-scsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-scsi.h') diff --git a/epan/dissectors/packet-scsi.h b/epan/dissectors/packet-scsi.h index c94a2f1363..085beae338 100644 --- a/epan/dissectors/packet-scsi.h +++ b/epan/dissectors/packet-scsi.h @@ -260,7 +260,7 @@ extern value_string_ext scsi_asc_val_ext; { \ volatile gboolean try_short_packet; \ tvbuff_t *try_tvb; \ - guint try_offset; \ + volatile guint try_offset; \ guint32 try_end_data_offset=0; \ \ try_short_packet=pinfo->fd->cap_lenfd->pkt_len; \ -- cgit v1.2.3