aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tpkt.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-11-22 15:55:01 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-11-22 15:55:01 +0000
commit9a0020f2f9b8d954d98d15b9865a6051f8644a90 (patch)
tree4406277d2a8fdaa9edf8bd7b962eed43f8fde18e /epan/dissectors/packet-tpkt.c
parent0e4856e8b9200bc5668f86aab1af8ddd2d27b9f2 (diff)
From Peter (bug 2942):
Allow optimalization with -ftracer. svn path=/trunk/; revision=26822
Diffstat (limited to 'epan/dissectors/packet-tpkt.c')
-rw-r--r--epan/dissectors/packet-tpkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tpkt.c b/epan/dissectors/packet-tpkt.c
index a5750b5765..731ee01519 100644
--- a/epan/dissectors/packet-tpkt.c
+++ b/epan/dissectors/packet-tpkt.c
@@ -217,7 +217,7 @@ dissect_asciitpkt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
int mgcp_version = 0;
int mgcp_reserved = 0;
volatile int length;
- tvbuff_t *next_tvb;
+ tvbuff_t *volatile next_tvb;
const char *saved_proto;
guint8 string[4];
/*
@@ -372,7 +372,7 @@ dissect_tpkt_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
int length_remaining;
int data_len;
volatile int length;
- tvbuff_t *next_tvb;
+ tvbuff_t *volatile next_tvb;
const char *saved_proto;
/*