git.samba.org
/
amitay
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a bunch of "unused variable" warnings.
[amitay/samba.git]
/
source3
/
smbd
/
reply.c
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 557a32f0541dd42e1ce04ba32f3a3c63ab961a7f..b026d34c671559e328463bde6391471a77321ce2 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-3525,10
+3525,8
@@
static int setup_readX_header(struct smb_request *req, char *outbuf,
size_t smb_maxcnt)
{
int outsize;
- char *data;
outsize = srv_set_message(outbuf,12,smb_maxcnt,False);
- data = smb_buf(outbuf);
memset(outbuf+smb_vwv0,'\0',24); /* valgrind init. */