mqtt: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ibd0041e0031c92073c89a1535677167e4fc90443 Reviewed-on: https://code.wireshark.org/review/24348 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
fdc8845803
commit
1cf6d365b2
|
@ -968,7 +968,7 @@ static int dissect_mqtt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, voi
|
|||
break;
|
||||
}
|
||||
|
||||
return tvb_captured_length(tvb);
|
||||
return offset;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue