diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-01-27 15:13:46 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-01-27 15:33:23 +0000 |
commit | 2e1030881e45641923867236fab3cbdf191e4356 (patch) | |
tree | 1e582a69353cea7cb6dbb0710a5aa87ffb3db04b /epan/dissectors/packet-hcrt.c | |
parent | 7dfda8875a8f17f60668681459c97590096dcfee (diff) |
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>
Diffstat (limited to 'epan/dissectors/packet-hcrt.c')
-rw-r--r-- | epan/dissectors/packet-hcrt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hcrt.c b/epan/dissectors/packet-hcrt.c index 037bad6a5f..492a1e04c9 100644 --- a/epan/dissectors/packet-hcrt.c +++ b/epan/dissectors/packet-hcrt.c @@ -273,7 +273,6 @@ static gboolean dissect_hcrt_message(tvbuff_t* tvb, packet_info* pinfo, proto_tr addr_mode = (1 + ((b0_current & 0x40) >> 6)); type = (b0_current & 0x30) >> 4; - body_len = 0; switch (type) { case HCRT_NOP: body_len = 4 * addr_mode * adl; |