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>
This commit is contained in:
Alexis La Goutte 2014-05-18 21:20:24 +02:00 committed by Michael Mann
parent 5235dc6ca0
commit fe053839f0
1 changed files with 1 additions and 1 deletions

View File

@ -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);