summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifile.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/clifile.c
parent324c51c25b064d5a6270274472779d260f913fe6 (diff)
downloadsamba-a868a51eca659c3002ce23d2ea0708841f1f4772.tar.gz
samba-a868a51eca659c3002ce23d2ea0708841f1f4772.tar.bz2
samba-a868a51eca659c3002ce23d2ea0708841f1f4772.zip
s3:libsmb: remove unused 'inbuf' variable
metze
Diffstat (limited to 'source3/libsmb/clifile.c')
-rw-r--r--source3/libsmb/clifile.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index b762a377c1..8fdbe15edc 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -1852,10 +1852,9 @@ static void cli_ntcreate_done(struct tevent_req *subreq)
uint16_t *vwv;
uint32_t num_bytes;
uint8_t *bytes;
- uint8_t *inbuf;
NTSTATUS status;
- status = cli_smb_recv(subreq, state, &inbuf, 3, &wct, &vwv,
+ status = cli_smb_recv(subreq, state, NULL, 3, &wct, &vwv,
&num_bytes, &bytes);
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {
@@ -2241,10 +2240,9 @@ static void cli_openx_done(struct tevent_req *subreq)
req, struct cli_openx_state);
uint8_t wct;
uint16_t *vwv;
- uint8_t *inbuf;
NTSTATUS status;
- status = cli_smb_recv(subreq, state, &inbuf, 3, &wct, &vwv, NULL,
+ status = cli_smb_recv(subreq, state, NULL, 3, &wct, &vwv, NULL,
NULL);
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {
@@ -3279,10 +3277,9 @@ static void cli_getattrE_done(struct tevent_req *subreq)
req, struct cli_getattrE_state);
uint8_t wct;
uint16_t *vwv = NULL;
- uint8_t *inbuf;
NTSTATUS status;
- status = cli_smb_recv(subreq, state, &inbuf, 11, &wct, &vwv,
+ status = cli_smb_recv(subreq, state, NULL, 11, &wct, &vwv,
NULL, NULL);
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {
@@ -3439,10 +3436,9 @@ static void cli_getatr_done(struct tevent_req *subreq)
req, struct cli_getatr_state);
uint8_t wct;
uint16_t *vwv = NULL;
- uint8_t *inbuf;
NTSTATUS status;
- status = cli_smb_recv(subreq, state, &inbuf, 4, &wct, &vwv, NULL,
+ status = cli_smb_recv(subreq, state, NULL, 4, &wct, &vwv, NULL,
NULL);
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {
@@ -3922,10 +3918,9 @@ static void cli_dskattr_done(struct tevent_req *subreq)
req, struct cli_dskattr_state);
uint8_t wct;
uint16_t *vwv = NULL;
- uint8_t *inbuf;
NTSTATUS status;
- status = cli_smb_recv(subreq, state, &inbuf, 4, &wct, &vwv, NULL,
+ status = cli_smb_recv(subreq, state, NULL, 4, &wct, &vwv, NULL,
NULL);
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {
@@ -4052,9 +4047,8 @@ static void cli_ctemp_done(struct tevent_req *subreq)
uint16_t *vwv;
uint32_t num_bytes = 0;
uint8_t *bytes = NULL;
- uint8_t *inbuf;
- status = cli_smb_recv(subreq, state, &inbuf, 1, &wcnt, &vwv,
+ status = cli_smb_recv(subreq, state, NULL, 1, &wcnt, &vwv,
&num_bytes, &bytes);
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {