forked from osmocom/wireshark
ospf: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ic40eb2ddeef30aa4f3f2d31dc7f91cec55e62508 Reviewed-on: https://code.wireshark.org/review/28926 Reviewed-by: Khalifa NDIAYE <khalifa.ndiaye@orange.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
51299192e2
commit
50dfbbd566
|
@ -2357,7 +2357,6 @@ dissect_ospf_lsa_mpls(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree
|
|||
}
|
||||
/* flexi-grid_lsc, see RFC 8363 */
|
||||
if (switch_cap == 152){
|
||||
bitmap_length = tvb_get_ntohs(tvb, stlv_offset + 42);
|
||||
bitmap_offset = stlv_offset + 40 + 16;
|
||||
no_eff_bits = tvb_get_ntohs(tvb, stlv_offset + 54) & 0x0FFF;
|
||||
if(no_eff_bits % 32 == 0){
|
||||
|
|
Loading…
Reference in New Issue