diff options
author | Jeremy Allison <jra@samba.org> | 2012-02-17 14:12:40 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-02-18 06:22:40 +0100 |
commit | 21528da9cd12a4f5c3792a482a5d18fe946a6f7a (patch) | |
tree | 4b8c37725dd728e00f25a8b4e2e9b52d7ff7fd5a /source3/libsmb | |
parent | e786e8fef9960aadf1e94c70c0fb7ec18c1ed237 (diff) | |
download | samba-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/libsmb')
-rw-r--r-- | source3/libsmb/clisymlink.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/libsmb/clisymlink.c b/source3/libsmb/clisymlink.c index fad9826880..9e21d1b883 100644 --- a/source3/libsmb/clisymlink.c +++ b/source3/libsmb/clisymlink.c @@ -156,15 +156,14 @@ static void cli_symlink_delete_on_close_done(struct tevent_req *subreq) subreq, struct tevent_req); struct cli_symlink_state *state = tevent_req_data( req, struct cli_symlink_state); - NTSTATUS status; - - status = cli_nt_delete_on_close_recv(subreq); - TALLOC_FREE(subreq); /* * Ignore status, we can't do much anyway in case of failure */ + (void)cli_nt_delete_on_close_recv(subreq); + TALLOC_FREE(subreq); + subreq = cli_close_send(state, state->ev, state->cli, state->fnum); if (tevent_req_nomem(subreq, req)) { return; |