aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isup.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-10-12 19:23:39 +0200
committerMichael Mann <mmann78@netscape.net>2014-10-12 17:43:12 +0000
commit148136c9a5a5502bf1726ef2227097781838a800 (patch)
treeedddecfe8a7e7f80eaf7d3f622e25d49491b8f82 /epan/dissectors/packet-isup.c
parent44208b98d194cb0fecd05a631424cb599da0024f (diff)
ISUP: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I17163b18348919d19d3d336ccf9c1310d473a05d Reviewed-on: https://code.wireshark.org/review/4624 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-isup.c')
-rw-r--r--epan/dissectors/packet-isup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-isup.c b/epan/dissectors/packet-isup.c
index 22bc4ddd18..065ed4c0b3 100644
--- a/epan/dissectors/packet-isup.c
+++ b/epan/dissectors/packet-isup.c
@@ -4565,7 +4565,6 @@ extern int dissect_codec_mode(proto_tree *tree, tvbuff_t *tvb, int offset, int l
case G_727_Embedded_ADPCM :
/* four bit config data, TODO decode config */
if (len > 2) {
- tempdata = tvb_get_guint8(tvb, offset);
proto_tree_add_item(tree, hf_isup_configuration_data, tvb, offset, 1, ENC_NA);
offset = offset + 1;
}
@@ -4575,7 +4574,6 @@ extern int dissect_codec_mode(proto_tree *tree, tvbuff_t *tvb, int offset, int l
case G_729_Annex_B :
/* three bit config data, TODO decode config */
if (len > 2) {
- tempdata = tvb_get_guint8(tvb, offset);
proto_tree_add_item(tree, hf_isup_configuration_data, tvb, offset, 1, ENC_NA);
offset = offset + 1;
}
@@ -4627,7 +4625,6 @@ extern int dissect_codec_mode(proto_tree *tree, tvbuff_t *tvb, int offset, int l
break;
default:
offset = offset + 1;
- tempdata = tvb_get_guint8(tvb, offset);
proto_tree_add_item(tree, hf_isup_unknown_organisation_identifier, tvb, offset, len, ENC_NA);
offset = offset + len - 1;
break;