diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-07-27 15:40:57 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-07-28 05:32:33 +0000 |
commit | b8a33b25ac92d0ce0eb21d09dd3324f12eced7ef (patch) | |
tree | 84bb819e8d52b03795af4fb0f37891bbdaf4436d /epan | |
parent | 13bd996e8f41fefeb0dfe6a71083e44b8ab5eaaf (diff) |
metamako: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ibd3f06969a6a39533090134aeaa352d13f69231a
Reviewed-on: https://code.wireshark.org/review/22817
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-metamako.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-metamako.c b/epan/dissectors/packet-metamako.c index 720d2cd9a2..5b8a06aa60 100644 --- a/epan/dissectors/packet-metamako.c +++ b/epan/dissectors/packet-metamako.c @@ -162,8 +162,6 @@ dissect_metamako(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data for ( i = 0; i < 2 && metamako_trailer_bytes >= 12 && !trailer_valid; i++ ) { /* Start at the tail of the trailer and work inwards */ metamako_meta = tvb_get_ntohl(tvb, metamako_trailer_bytes - 4); - metamako_srcport = metamako_meta & 0xFF; - metamako_srcdevice = (metamako_meta >> 8) & 0xFFFF; metamako_flags = (metamako_meta >> 24) & 0xFF; metamako_trailer_bytes -= 4; metamako_time.nsecs = tvb_get_ntohl(tvb, metamako_trailer_bytes - 4); |