diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-03-02 11:08:49 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-03-02 11:08:49 +0000 |
commit | ba4c8fdbc33320b43420e61b253c5178930d82ae (patch) | |
tree | f0b747e43952fd46b485d7d91eb2a68915e4c95e /epan/dissectors/packet-3g-a11.c | |
parent | 92896f46b8b9628c2f24d519cbfb205b6c1e20e3 (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41313
Diffstat (limited to 'epan/dissectors/packet-3g-a11.c')
-rw-r--r-- | epan/dissectors/packet-3g-a11.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-3g-a11.c b/epan/dissectors/packet-3g-a11.c index 0b5377f81d..8d9ee5b608 100644 --- a/epan/dissectors/packet-3g-a11.c +++ b/epan/dissectors/packet-3g-a11.c @@ -616,7 +616,6 @@ static const gchar *dissect_3gpp2_service_option_profile(proto_tree * tree, tvbu offset+=4; while (tvb_length_remaining(tvb,offset)>0){ - sub_type = tvb_get_guint8(tvb,offset); sub_type_length = tvb_get_guint8(tvb,offset+1); sub_type = tvb_get_guint8(tvb,offset); @@ -664,7 +663,6 @@ static const gchar *dissect_3gpp2_radius_aut_flow_profile_ids(proto_tree * tree, val_to_str(sub_type, a11_aut_flow_prof_subtype_vals, "Unknown"), value); sub_tree = proto_item_add_subtree(item, ett_a11_aut_flow_profile_ids); - sub_type = tvb_get_guint8(tvb,offset); proto_tree_add_item(sub_tree, hf_a11_aut_flow_prof_sub_type, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; proto_tree_add_item(sub_tree, hf_a11_aut_flow_prof_sub_type_len, tvb, offset, 1, ENC_BIG_ENDIAN); |