git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d4f412
)
SMB2: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
author
Alexis La Goutte
<alexis.lagoutte@gmail.com>
Thu, 16 Jul 2015 21:16:00 +0000
(23:16 +0200)
committer
Michael Mann
<mmann78@netscape.net>
Thu, 16 Jul 2015 21:52:54 +0000
(21:52 +0000)
Change-Id: Ic7d713e8593cd0841089f2c26d2c24f2f008cb31
Reviewed-on: https://code.wireshark.org/review/9667
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/packet-smb2.c
patch
|
blob
|
history
diff --git
a/epan/dissectors/packet-smb2.c
b/epan/dissectors/packet-smb2.c
index 092cf9a3d5e28dc6e9a110e2fd07d7033437611d..52d397170ffb292cdf2b443ffe8940ecbc5b28ee 100644
(file)
--- a/
epan/dissectors/packet-smb2.c
+++ b/
epan/dissectors/packet-smb2.c
@@
-5986,7
+5986,6
@@
dissect_smb2_posix_v1_caps_request(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pr
/* Request */
proto_tree_add_item(sub_tree, hf_smb2_posix_v1_request,
tvb, offset, 4, ENC_LITTLE_ENDIAN);
- offset += 4;
}
static void
@@
-6011,7
+6010,6
@@
dissect_smb2_posix_v1_caps_response(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p
hf_smb2_posix_v1_supported_features,
ett_smb2_posix_v1_supported_features,
posix_flags_fields, ENC_LITTLE_ENDIAN);
- offset += 4;
}