smb2: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Tue, 6 Sep 2016 05:52:06 +0000 (07:52 +0200)
committerAnders Broman <a.broman58@gmail.com>
Tue, 6 Sep 2016 07:45:18 +0000 (07:45 +0000)
Change-Id: I714e2ea4808213901a8be64e65a0cb37c3002372
Reviewed-on: https://code.wireshark.org/review/17516
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-smb2.c

index 77d30679c26080d6fd9712659b9c14a27d9d7825..e9d83c37de3cdd61829d1de4de18105c3bdda272 100644 (file)
@@ -4414,7 +4414,7 @@ dissect_smb2_getinfo_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
        offset += 8;
 
        /* fid */
-       offset = dissect_smb2_fid(tvb, pinfo, tree, offset, si, FID_MODE_USE);
+       dissect_smb2_fid(tvb, pinfo, tree, offset, si, FID_MODE_USE);
 
        /* buffer */
        if (si->saved) {