selfm: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Thu, 15 Sep 2016 06:04:14 +0000 (08:04 +0200)
committerAnders Broman <a.broman58@gmail.com>
Tue, 20 Sep 2016 11:47:04 +0000 (11:47 +0000)
Change-Id: I758ff81bdfcb9c18810baad12554d7f7f0e7705f
Reviewed-on: https://code.wireshark.org/review/17707
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-selfm.c

index 5d5d74d690fd42dbb49f8826123eb373e8de3cbd..a977a505866afcdb2c7f68a701ea6618a358f1f4 100644 (file)
@@ -2499,7 +2499,7 @@ dissect_selfm(tvbuff_t *selfm_tvb, packet_info *pinfo, proto_tree *tree, void* d
             offset = dissect_fastmsg_readresp_frame( selfm_tvb, tree, pinfo, offset, seq);
 
             /* Skip CRC16 */
-            offset = len;
+            offset += 2;
 
         }