summaryrefslogtreecommitdiff
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
commit2c1030d755a83b8f8df21e06e52b708e0d72cb04 (patch)
tree7078b29a9519742f31395febc85a232ca897e38f
parent4e4bf2de31b0e45bdb3a0d68548fc6bcee886aa7 (diff)
downloadsamba-2c1030d755a83b8f8df21e06e52b708e0d72cb04.tar.gz
samba-2c1030d755a83b8f8df21e06e52b708e0d72cb04.tar.bz2
samba-2c1030d755a83b8f8df21e06e52b708e0d72cb04.zip
Max warnings with gcc.
Jeremy. (This used to be commit cdba166e31b3c611652783a2ab63e59f57f41fde)
-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;
}
/*******************************************************************