diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-06-19 18:47:35 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-06-19 18:47:35 +0000 |
commit | d2269ce7d563c9343f4b71da4cd09bc6fb5080e7 (patch) | |
tree | 1bb1d49e5bd617abce454558411c1a7e0c4c4722 /epan/dissectors/packet-imf.c | |
parent | dfdeeb559535e20b78112405baf3d4f87fe2a961 (diff) |
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=37716
Diffstat (limited to 'epan/dissectors/packet-imf.c')
-rw-r--r-- | epan/dissectors/packet-imf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-imf.c b/epan/dissectors/packet-imf.c index f784d9940c..0cc3532937 100644 --- a/epan/dissectors/packet-imf.c +++ b/epan/dissectors/packet-imf.c @@ -481,7 +481,6 @@ static void dissect_imf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) gint max_length; guint8 *key; gboolean last_field = FALSE; - gboolean dissected = FALSE; tvbuff_t *next_tvb; struct imf_field *f_info; @@ -608,7 +607,7 @@ static void dissect_imf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) next_tvb = tvb_new_subset_remaining(tvb, end_offset); - dissected = dissector_try_string(media_type_dissector_table, content_type_str, next_tvb, pinfo, tree); + dissector_try_string(media_type_dissector_table, content_type_str, next_tvb, pinfo, tree); pinfo->private_data = pd_save; } else { |