aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ldp.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-ldp.c
parent0e4856e8b9200bc5668f86aab1af8ddd2d27b9f2 (diff)
From Peter (bug 2942):
Allow optimalization with -ftracer. svn path=/trunk/; revision=26822
Diffstat (limited to 'epan/dissectors/packet-ldp.c')
-rw-r--r--epan/dissectors/packet-ldp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ldp.c b/epan/dissectors/packet-ldp.c
index a418e4715c..d26be2cc3f 100644
--- a/epan/dissectors/packet-ldp.c
+++ b/epan/dissectors/packet-ldp.c
@@ -2484,7 +2484,7 @@ dissect_ldp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
int length_remaining;
guint16 plen;
int length;
- tvbuff_t *next_tvb;
+ tvbuff_t *volatile next_tvb;
while (tvb_reported_length_remaining(tvb, offset) != 0) {
length_remaining = tvb_length_remaining(tvb, offset);