summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-02-17 14:12:40 -0800
committerJeremy Allison <jra@samba.org>2012-02-18 06:22:40 +0100
commit21528da9cd12a4f5c3792a482a5d18fe946a6f7a (patch)
tree4b8c37725dd728e00f25a8b4e2e9b52d7ff7fd5a /source3/smbd/process.c
parente786e8fef9960aadf1e94c70c0fb7ec18c1ed237 (diff)
downloadsamba-21528da9cd12a4f5c3792a482a5d18fe946a6f7a.tar.gz
samba-21528da9cd12a4f5c3792a482a5d18fe946a6f7a.tar.bz2
samba-21528da9cd12a4f5c3792a482a5d18fe946a6f7a.zip
Fix a bunch of "unused variable" warnings.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 18 06:22:40 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 1d74355289..139f1f0d22 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2646,7 +2646,6 @@ static bool smbd_echo_reply(struct smbd_echo_state *state,
{
struct smb_request req;
uint16_t num_replies;
- size_t out_len;
char *outbuf;
bool ok;
@@ -2703,8 +2702,6 @@ static bool smbd_echo_reply(struct smbd_echo_state *state,
memcpy(smb_buf(req.outbuf), req.buf, req.buflen);
}
- out_len = smb_len(req.outbuf) + 4;
-
ok = srv_send_smb(req.sconn,
(char *)outbuf,
true, seqnum+1,