HCrt: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I453c9b068a53292ab63cd3416569eea7d66361ba Reviewed-on: https://code.wireshark.org/review/6818 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
7dfda8875a
commit
2e1030881e
1 changed files with 0 additions and 1 deletions
|
@ -273,7 +273,6 @@ static gboolean dissect_hcrt_message(tvbuff_t* tvb, packet_info* pinfo, proto_tr
|
||||||
addr_mode = (1 + ((b0_current & 0x40) >> 6));
|
addr_mode = (1 + ((b0_current & 0x40) >> 6));
|
||||||
type = (b0_current & 0x30) >> 4;
|
type = (b0_current & 0x30) >> 4;
|
||||||
|
|
||||||
body_len = 0;
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case HCRT_NOP:
|
case HCRT_NOP:
|
||||||
body_len = 4 * addr_mode * adl;
|
body_len = 4 * addr_mode * adl;
|
||||||
|
|
Loading…
Reference in a new issue