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:
b912070
)
smb2: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
author
Alexis La Goutte
<alexis.lagoutte@gmail.com>
Wed, 22 Feb 2017 06:14:05 +0000
(07:14 +0100)
committer
Michael Mann
<mmann78@netscape.net>
Sun, 26 Feb 2017 02:02:14 +0000
(
02:02
+0000)
Change-Id: Ib1a74394195a945c8c723299f08dc9709233a5af
Reviewed-on: https://code.wireshark.org/review/20245
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 8e66b9aed31a82ca3cc501af8cea98fbc8efec82..3949ebbfcb23bc15ea5f306eb507a8fde28afc9c 100644
(file)
--- a/
epan/dissectors/packet-smb2.c
+++ b/
epan/dissectors/packet-smb2.c
@@
-5664,7
+5664,7
@@
dissect_smb2_FSCTL_STORAGE_QOS_CONTROL(tvbuff_t *tvb, packet_info *pinfo, proto_
offset += 8;
proto_tree_add_item(tree, hf_smb2_ioctl_sqos_kilobyte_count_increment, tvb, offset, 8, ENC_LITTLE_ENDIAN);
- offset += 8;
+ /*offset += 8;*/
}
dissect_smb2_olb_string(pinfo, tree, tvb, &host_olb, OLB_TYPE_UNICODE_STRING);