aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tr.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-01 23:11:46 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-01 23:11:46 +0000
commit5c10c1b2e875346aec7d7af53391a866c614c9c1 (patch)
tree004cd26ad7d93489a154f15e2e1482fa7057bd81 /epan/dissectors/packet-tr.c
parentfc5094771f7601ad4a3a4e3e13d972439a77a8a9 (diff)
Get rid of some warnings about variables whose values might be lost in a
longjmp, by properly qualifying those variables as volatile. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12914 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-tr.c')
-rw-r--r--epan/dissectors/packet-tr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tr.c b/epan/dissectors/packet-tr.c
index 1668cea4bb..34f55a7353 100644
--- a/epan/dissectors/packet-tr.c
+++ b/epan/dissectors/packet-tr.c
@@ -340,7 +340,7 @@ dissect_tr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static tr_hdr trh_arr[4];
static int trh_current=0;
- tr_hdr *trh;
+ tr_hdr *volatile trh;
/* non-source-routed version of source addr */
static guint8 trn_shost_nonsr[6];