aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-amr.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-18 18:36:44 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-18 18:36:44 +0000
commit1b5e64fde6dcae4061fb92ced53dc55761edbbf9 (patch)
treeb0c13afc2a85e2f534771efe841391e4c93c41bd /epan/dissectors/packet-amr.c
parentaf85ec17a2d1a3bad4ec1d503481beb1c4965e57 (diff)
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=36708
Diffstat (limited to 'epan/dissectors/packet-amr.c')
-rw-r--r--epan/dissectors/packet-amr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-amr.c b/epan/dissectors/packet-amr.c
index 2149fc3726..44d4b56570 100644
--- a/epan/dissectors/packet-amr.c
+++ b/epan/dissectors/packet-amr.c
@@ -430,7 +430,6 @@ dissect_amr_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint amr
{
int offset = 0;
int bit_offset = 0;
- int toc_offset = 0;
guint8 octet;
proto_item *item;
gboolean first_time;
@@ -486,7 +485,6 @@ dissect_amr_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint amr
proto_tree_add_item(amr_tree, hf_amr_reserved, tvb, offset, 1, FALSE);
offset++;
bit_offset+=4;
- toc_offset = offset;
/*
* A ToC entry takes the following format in octet-aligned mode:
*