diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-11-22 15:55:01 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-11-22 15:55:01 +0000 |
commit | 9a0020f2f9b8d954d98d15b9865a6051f8644a90 (patch) | |
tree | 4406277d2a8fdaa9edf8bd7b962eed43f8fde18e /epan/dissectors/packet-vlan.c | |
parent | 0e4856e8b9200bc5668f86aab1af8ddd2d27b9f2 (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.c | 3 |
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; |