aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ethertype.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-27 21:23:45 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-27 21:23:45 +0000
commit3d0038beb4b3582441385fa638c16408fad9c65f (patch)
tree89cc6f9a3546f01554942952dbad977ac578903c /epan/dissectors/packet-ethertype.c
parentc48ac6d9f5949f20b621b13b7260927f02385263 (diff)
Apply yet another of the optimization patches:
- Remove a spurious volatile. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23627 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ethertype.c')
-rw-r--r--epan/dissectors/packet-ethertype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ethertype.c b/epan/dissectors/packet-ethertype.c
index ce362ab4fa..203fe6918e 100644
--- a/epan/dissectors/packet-ethertype.c
+++ b/epan/dissectors/packet-ethertype.c
@@ -278,7 +278,7 @@ add_dix_trailer(proto_tree *fh_tree, int trailer_id, tvbuff_t *tvb,
gint fcs_len)
{
guint length;
- tvbuff_t *volatile trailer_tvb;
+ tvbuff_t *trailer_tvb;
if (fh_tree == NULL)
return; /* we're not building a protocol tree */