SMB2: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Fri, 3 Jun 2016 08:36:56 +0000 (10:36 +0200)
committerAnders Broman <a.broman58@gmail.com>
Fri, 3 Jun 2016 11:05:19 +0000 (11:05 +0000)
Change-Id: If6a147c0bac5fdb0888667712593a41f20a88012
Reviewed-on: https://code.wireshark.org/review/15708
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-smb2.c

index bf8f393ca6484a3b354aaf3b36fd9e1d3570f50c..7e82d2cbdda78d655d8ab280242a04ad854ca254 100644 (file)
@@ -5816,7 +5816,6 @@ dissect_smb2_FSCTL_SRV_REQUEST_RESUME_KEY(tvbuff_t *tvb, packet_info *pinfo _U_,
        offset = dissect_smb2_cchunk_RESUME_KEY(tvb, pinfo, tree, offset);
 
        proto_tree_add_item(tree, hf_smb2_reserved, tvb, offset, 4, ENC_NA);
-       offset += 4;
 }
 
 static void