diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-12-04 18:43:18 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-12-04 18:43:18 +0000 |
commit | ead53c19a2c09ab3e90144d91aedac135d1871a7 (patch) | |
tree | 9783699c96546d6d80d8dc776e8e1af9348bf57e /epan/dissectors/packet-ospf.c | |
parent | 78c4f454f9e3ea1c0b63bbb2807100245057c3cd (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40094
Diffstat (limited to 'epan/dissectors/packet-ospf.c')
-rw-r--r-- | epan/dissectors/packet-ospf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ospf.c b/epan/dissectors/packet-ospf.c index 45e961a0ba..fe70639210 100644 --- a/epan/dissectors/packet-ospf.c +++ b/epan/dissectors/packet-ospf.c @@ -2408,7 +2408,6 @@ dissect_ospf_lsa_opaque_ri(tvbuff_t *tvb, int offset, proto_tree *tree, int tlv_type; int tlv_length; - int tlv_end_offset; ti = proto_tree_add_text(tree, tvb, offset, length, "Opaque Router Information LSA"); @@ -2418,7 +2417,6 @@ dissect_ospf_lsa_opaque_ri(tvbuff_t *tvb, int offset, proto_tree *tree, while (length > 0) { tlv_type = tvb_get_ntohs(tvb, offset); tlv_length = tvb_get_ntohs(tvb, offset + 2); - tlv_end_offset = offset + tlv_length + 4; switch(tlv_type) { |