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:
Alexis La Goutte 2018-08-02 09:04:41 +02:00 committed by Anders Broman
parent 51299192e2
commit 50dfbbd566
1 changed files with 0 additions and 1 deletions

View File

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