diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-20 01:13:21 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-20 01:13:21 +0000 |
commit | 13dd456303098c2f38b849eef420a29cb53f3ae3 (patch) | |
tree | f0aa07f73632d1aa064e1a9af2fac2aa13b757e2 /epan/dissectors/packet-smb-pipe.c | |
parent | 5f4d28ddc532edfe531e9f985da6a081a2bbaf36 (diff) |
Fix some gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
(Code commented out since it may be required in the future (at least in some cases).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37723 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-smb-pipe.c')
-rw-r--r-- | epan/dissectors/packet-smb-pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb-pipe.c b/epan/dissectors/packet-smb-pipe.c index 8a313edee6..35675efb0d 100644 --- a/epan/dissectors/packet-smb-pipe.c +++ b/epan/dissectors/packet-smb-pipe.c @@ -2626,7 +2626,7 @@ dissect_pipe_lanman(tvbuff_t *pd_tvb, tvbuff_t *p_tvb, tvbuff_t *d_tvb, { smb_info_t *smb_info = pinfo->private_data; smb_transact_info_t *trp = NULL; - int offset = 0, start_offset; + int offset = 0/*, start_offset*/; guint16 cmd; guint16 status; int convert; @@ -2720,7 +2720,7 @@ dissect_pipe_lanman(tvbuff_t *pd_tvb, tvbuff_t *p_tvb, tvbuff_t *d_tvb, lanman = find_lanman(cmd); /* request parameters */ - start_offset = offset; + /*start_offset = offset;*/ offset = dissect_request_parameters(p_tvb, offset, pinfo, tree, param_descrip, lanman->req, &has_data); |