summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-10-07 05:06:58 +0000
committerJeremy Allison <jra@samba.org>2003-10-07 05:06:58 +0000
commit764c03b9b8f552c187aad327fc857535ee322036 (patch)
tree81138ec64a811e9e4482772451320b7c508e6ba1
parent0a22ddd7dc7347146bd510db8a331b9eccd67b08 (diff)
downloadsamba-764c03b9b8f552c187aad327fc857535ee322036.tar.gz
samba-764c03b9b8f552c187aad327fc857535ee322036.tar.bz2
samba-764c03b9b8f552c187aad327fc857535ee322036.zip
Tut tut - always run with max warnings on gcc...
Jeremy. (This used to be commit 3ebbd67dec2044ed8022491747e65b90f1354602)
-rw-r--r--source3/rpc_parse/parse_lsa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 22dbd5307a..f960345fe7 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -1811,7 +1811,7 @@ static BOOL lsa_io_privilege_set(const char *desc, PRIVILEGE_SET *r_c, prs_struc
NTSTATUS init_lsa_r_enum_privsaccount(TALLOC_CTX *mem_ctx, LSA_R_ENUMPRIVSACCOUNT *r_u, LUID_ATTR *set, uint32 count, uint32 control)
{
- NTSTATUS ret;
+ NTSTATUS ret = NT_STATUS_OK;
r_u->ptr = 1;
r_u->count = count;
@@ -1823,6 +1823,8 @@ NTSTATUS init_lsa_r_enum_privsaccount(TALLOC_CTX *mem_ctx, LSA_R_ENUMPRIVSACCOUN
return ret;
DEBUG(10,("init_lsa_r_enum_privsaccount: %d %d privileges\n", r_u->count, r_u->set->count));
+
+ return ret;
}
/*******************************************************************