summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clientgen.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-04 15:59:42 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-05 17:33:49 +0200
commita868a51eca659c3002ce23d2ea0708841f1f4772 (patch)
tree5491beca1c50edcdd263051b69e98710fc419444 /source3/libsmb/clientgen.c
parent324c51c25b064d5a6270274472779d260f913fe6 (diff)
downloadsamba-a868a51eca659c3002ce23d2ea0708841f1f4772.tar.gz
samba-a868a51eca659c3002ce23d2ea0708841f1f4772.tar.xz
samba-a868a51eca659c3002ce23d2ea0708841f1f4772.zip
s3:libsmb: remove unused 'inbuf' variable
metze
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r--source3/libsmb/clientgen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 0bbcdf5c71c..c8bd7e5f528 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -483,9 +483,8 @@ static void cli_echo_done(struct tevent_req *subreq)
NTSTATUS status;
uint32_t num_bytes;
uint8_t *bytes;
- uint8_t *inbuf;
- status = cli_smb_recv(subreq, state, &inbuf, 0, NULL, NULL,
+ status = cli_smb_recv(subreq, state, NULL, 0, NULL, NULL,
&num_bytes, &bytes);
if (!NT_STATUS_IS_OK(status)) {
tevent_req_nterror(req, status);