aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dis.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-05-18 21:20:24 +0200
committerMichael Mann <mmann78@netscape.net>2014-05-18 20:28:37 +0000
commitfe053839f07c3fb1a9fc3cd8e729f52b3823bcc4 (patch)
tree2ba523ef6fba2ae521644ce79dd1e7358ab9a484 /epan/dissectors/packet-dis.c
parent5235dc6ca0d7ec4e6c1fe38cae34763366830629 (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I9bf53014d90857b7d71efbb09b5ceb708b3df6ca Reviewed-on: https://code.wireshark.org/review/1683 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-dis.c')
-rw-r--r--epan/dissectors/packet-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dis.c b/epan/dissectors/packet-dis.c
index 5a4a7cd85d..24d2a15862 100644
--- a/epan/dissectors/packet-dis.c
+++ b/epan/dissectors/packet-dis.c
@@ -3474,7 +3474,7 @@ static int dissect_DIS_FIELDS_MODULATION_TYPE(tvbuff_t *tvb, proto_tree *tree, i
proto_item *ti;
proto_tree *sub_tree;
guint32 majorModulation;
- int hf_mod_detail = hf_dis_modulation_detail;
+ int hf_mod_detail;
ti = proto_tree_add_text(tree, tvb, offset, 8, "Modulation Type");
sub_tree = proto_item_add_subtree(ti, ett_modulation_type);