aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-02-21 19:53:15 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-02-21 20:49:35 +0000
commite009dc98431f4fe0faa713feab5afc0c4ae0127f (patch)
tree6983195305998632eb3f2f35994689e850141990
parente1b265596b4d4301c1933158bc6b2dc2a0341f20 (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Ic3a240a2e751700f653287dd84fe58016adab9e2 Reviewed-on: https://code.wireshark.org/review/297 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
-rw-r--r--epan/dissectors/packet-bgp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index f134350be4..ba4f3a8149 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -5498,11 +5498,6 @@ dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo)
break;
}
- /* (o + i + aoff) =
- (o + current attribute + aoff bytes to first tuple) */
- q = o + i + aoff;
- end = q + tlen;
-
ti = proto_tree_add_item(subtree2, hf_bgp_update_path_attribute_cluster_list,
tvb, o + i + aoff, tlen, ENC_NA);
cluster_list_tree = proto_item_add_subtree(ti,