BMP: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I322be0953ce8c872f8464c3e095dfe9006d3b67b Reviewed-on: https://code.wireshark.org/review/7261 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
b9296b721f
commit
1c4053f8b3
|
@ -383,7 +383,7 @@ dissect_bmp_termination(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_,
|
|||
} else {
|
||||
proto_tree_add_item(subtree, hf_term_reason, tvb, offset, term_len, ENC_BIG_ENDIAN);
|
||||
}
|
||||
offset += term_len;
|
||||
/*offset += term_len;*/
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue