summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-vlan.c
diff options
context:
space:
mode:
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;