diff options
author | Jeremy Allison <jra@samba.org> | 2003-10-07 05:06:58 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-10-07 05:06:58 +0000 |
commit | 764c03b9b8f552c187aad327fc857535ee322036 (patch) | |
tree | 81138ec64a811e9e4482772451320b7c508e6ba1 | |
parent | 0a22ddd7dc7347146bd510db8a331b9eccd67b08 (diff) | |
download | samba-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.c | 4 |
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; } /******************************************************************* |