summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-10-07 17:23:59 +0000
committerJeremy Allison <jra@samba.org>2003-10-07 17:23:59 +0000
commitcdba166e31b3c611652783a2ab63e59f57f41fde (patch)
treed5af5b3c4eb6e6bdf3a34e5e7910b38dcce6795e /source/rpc_parse
parent19925e3a04f421f4dcc469b701f3cc51ef98ac2c (diff)
downloadsamba-cdba166e31b3c611652783a2ab63e59f57f41fde.tar.gz
samba-cdba166e31b3c611652783a2ab63e59f57f41fde.tar.xz
samba-cdba166e31b3c611652783a2ab63e59f57f41fde.zip
Max warnings with gcc.
Jeremy.
Diffstat (limited to 'source/rpc_parse')
-rw-r--r--source/rpc_parse/parse_lsa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/rpc_parse/parse_lsa.c b/source/rpc_parse/parse_lsa.c
index 22dbd5307a0..f960345fe74 100644
--- a/source/rpc_parse/parse_lsa.c
+++ b/source/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;
}
/*******************************************************************