From fe053839f07c3fb1a9fc3cd8e729f52b3823bcc4 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 18 May 2014 21:20:24 +0200 Subject: 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 --- epan/dissectors/packet-dis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-dis.c') 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); -- cgit v1.2.3