aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vlan.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-vlan.c
parent0e4856e8b9200bc5668f86aab1af8ddd2d27b9f2 (diff)
From Peter (bug 2942):
Allow optimalization with -ftracer. svn path=/trunk/; revision=26822
Diffstat (limited to 'epan/dissectors/packet-vlan.c')
-rw-r--r--epan/dissectors/packet-vlan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-vlan.c b/epan/dissectors/packet-vlan.c
index bf8dcc7127..7bbf705500 100644
--- a/epan/dissectors/packet-vlan.c
+++ b/epan/dissectors/packet-vlan.c
@@ -74,7 +74,8 @@ static void
dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
proto_tree *ti;
- guint16 tci,encap_proto;
+ guint16 tci;
+ volatile guint16 encap_proto;
volatile gboolean is_802_2;
proto_tree *volatile vlan_tree;