diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-05-13 18:24:49 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-05-16 04:14:42 +0000 |
commit | 233c27e9dc20ff249d4ef391956abf55edf7224e (patch) | |
tree | fc580e06fc20dce4259f5dc64fc4a76c52c6e351 /epan/dissectors/packet-smpp.c | |
parent | e2ebd8c72acc8b67048d93915f9b73fd5820124e (diff) |
smpp: fix issue found by PVS Studio (V1001)
The 'offset' variable is assigned but is not used until the end of the function
Change-Id: Idd5bc657bb0c64020fda0833a7eead357b463be7
Reviewed-on: https://code.wireshark.org/review/27505
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-smpp.c')
-rw-r--r-- | epan/dissectors/packet-smpp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smpp.c b/epan/dissectors/packet-smpp.c index c074ca38bd..612e154bd2 100644 --- a/epan/dissectors/packet-smpp.c +++ b/epan/dissectors/packet-smpp.c @@ -1999,7 +1999,6 @@ replace_sm(proto_tree *tree, tvbuff_t *tvb) if (length) proto_tree_add_item(tree, hf_smpp_short_message, tvb, offset, length, ENC_NA); - offset += length; } static void |