summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-20 17:35:25 +0100
committerVolker Lendecke <vl@samba.org>2008-01-20 17:44:40 +0100
commit33f3eeaa00974860dfc45962d5fd34cf05396c76 (patch)
treed826c4af466796b6adf665a6e6d66597aee50131 /source3/smbd
parentb1017bb551fd28d2f9562acb1ff7f0dde933417a (diff)
downloadsamba-33f3eeaa00974860dfc45962d5fd34cf05396c76.tar.gz
samba-33f3eeaa00974860dfc45962d5fd34cf05396c76.tar.bz2
samba-33f3eeaa00974860dfc45962d5fd34cf05396c76.zip
Fix some "set but never used" warnings
(This used to be commit 4a6dadc5178f4861e9c032321939db3b639734b5)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 5a5eb1e190..4ea81a3819 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3375,7 +3375,6 @@ void error_to_writebrawerr(struct smb_request *req)
void reply_writebraw(struct smb_request *req)
{
connection_struct *conn = req->conn;
- int outsize = 0;
char *buf = NULL;
ssize_t nwritten=0;
ssize_t total_written=0;
@@ -3485,8 +3484,7 @@ void reply_writebraw(struct smb_request *req)
* it to send more bytes */
memcpy(buf, req->inbuf, smb_size);
- outsize = srv_set_message(buf,
- Protocol>PROTOCOL_COREPLUS?1:0,0,True);
+ srv_set_message(buf,Protocol>PROTOCOL_COREPLUS?1:0,0,True);
SCVAL(buf,smb_com,SMBwritebraw);
SSVALS(buf,smb_vwv0,0xFFFF);
show_msg(buf);