From 148136c9a5a5502bf1726ef2227097781838a800 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 12 Oct 2014 19:23:39 +0200 Subject: 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 --- epan/dissectors/packet-isup.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'epan/dissectors/packet-isup.c') 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; -- cgit v1.2.3