summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-15 10:54:35 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-15 10:54:35 +0000
commit159118de5ce0999b96ebe7cd7dc823087b0cccf5 (patch)
treea36cd7cde4ee83b7ec420d883ca8bb86b307f831 /source3/libsmb
parentfc26773500cc549563bcd00b2657713adf09a840 (diff)
downloadsamba-159118de5ce0999b96ebe7cd7dc823087b0cccf5.tar.gz
samba-159118de5ce0999b96ebe7cd7dc823087b0cccf5.tar.bz2
samba-159118de5ce0999b96ebe7cd7dc823087b0cccf5.zip
fixed a number of real bugs found by warnings on the 64 bit irix compiler
(This used to be commit 04de6bbc8055e5547af41b10e284b722f40e726d)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cli_wkssvc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/cli_wkssvc.c b/source3/libsmb/cli_wkssvc.c
index 756ff61e5b..97b948bf62 100644
--- a/source3/libsmb/cli_wkssvc.c
+++ b/source3/libsmb/cli_wkssvc.c
@@ -40,7 +40,6 @@ NTSTATUS cli_wks_query_info(struct cli_state *cli, TALLOC_CTX *mem_ctx,
prs_struct rbuf;
WKS_Q_QUERY_INFO q_o;
WKS_R_QUERY_INFO r_o;
- NTSTATUS nt_status;
if (cli == NULL || wks100 == NULL)
return NT_STATUS_UNSUCCESSFUL;
@@ -89,6 +88,6 @@ NTSTATUS cli_wks_query_info(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/* do clean up */
prs_mem_free(&rbuf);
- return nt_status;
+ return NT_STATUS_OK;
}