summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-sdp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-06-19 18:47:35 +0000
committerBill Meier <wmeier@newsguy.com>2011-06-19 18:47:35 +0000
commitd2269ce7d563c9343f4b71da4cd09bc6fb5080e7 (patch)
tree1bb1d49e5bd617abce454558411c1a7e0c4c4722 /epan/dissectors/packet-sdp.c
parentdfdeeb559535e20b78112405baf3d4f87fe2a961 (diff)
downloadwireshark-d2269ce7d563c9343f4b71da4cd09bc6fb5080e7.tar.gz
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=37716
Diffstat (limited to 'epan/dissectors/packet-sdp.c')
-rw-r--r--epan/dissectors/packet-sdp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sdp.c b/epan/dissectors/packet-sdp.c
index 14a579a400..ce4620e148 100644
--- a/epan/dissectors/packet-sdp.c
+++ b/epan/dissectors/packet-sdp.c
@@ -1490,7 +1490,6 @@ static void dissect_sdp_media_attribute(tvbuff_t *tvb, packet_info *pinfo, proto
proto_item *fmtp_item, *media_format_item;
proto_tree *fmtp_tree;
gint offset, next_offset, tokenlen, n, colon_offset;
- gint start_offset;
/*??guint8 *field_name;*/
guint8 *payload_type;
guint8 *attribute_value;
@@ -1562,7 +1561,6 @@ static void dissect_sdp_media_attribute(tvbuff_t *tvb, packet_info *pinfo, proto
tokenlen = next_offset - offset;
- start_offset = offset;
proto_tree_add_item(sdp_media_attribute_tree, hf_media_encoding_name, tvb,
offset, tokenlen, FALSE);