smpp: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Sun, 6 Jan 2019 14:48:47 +0000 (14:48 +0000)
committerMichael Mann <mmann78@netscape.net>
Sun, 6 Jan 2019 17:14:06 +0000 (17:14 +0000)
Change-Id: Ifbe72c48ec401582d2df30b440e449398c71eb40
Reviewed-on: https://code.wireshark.org/review/31414
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/packet-smpp.c

index c73a6396e2a3b8e7b555466e5dec477a7c5adb1e..5c405d4fa72a0a5d5446558eb942fe1c5cad3af1 100644 (file)
@@ -2338,7 +2338,6 @@ dissect_smpp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data
     }
     offset += 4;
     sequence_number = tvb_get_ntohl(tvb, offset);
-    offset += 4;
 
     /*
      * Update the protocol column.