diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-01-16 12:07:17 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-01-16 13:05:56 +0000 |
commit | fb22d62df95e2ed4014674e0520698170bb589d3 (patch) | |
tree | 0e2508008c8ed8638d8cb22113cd1d73105783ec /epan/dissectors/packet-lat.c | |
parent | 98fd9b852446ada31d47c158e022c545d0bc7f42 (diff) |
LAT: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I3e2fad7f0307e599802c37040b34c899efb0e603
Reviewed-on: https://code.wireshark.org/review/13328
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-lat.c')
-rw-r--r-- | epan/dissectors/packet-lat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lat.c b/epan/dissectors/packet-lat.c index 7522d7c477..d77accf213 100644 --- a/epan/dissectors/packet-lat.c +++ b/epan/dissectors/packet-lat.c @@ -206,7 +206,6 @@ static void dissect_lat_start(tvbuff_t *tvb, int offset, proto_tree *tree) { dissect_lat_header(tvb, offset, tree); - offset += 1 + 2 + 2 + 1 + 1; /* XXX - dissect the rest of it */ } @@ -214,7 +213,6 @@ static void dissect_lat_stop(tvbuff_t *tvb, int offset, proto_tree *tree) { dissect_lat_header(tvb, offset, tree); - offset += 1 + 2 + 2 + 1 + 1; /* XXX - dissect the rest of it */ } |