1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r833: Compile error

This commit is contained in:
Jelmer Vernooij 2004-05-23 13:55:52 +00:00 committed by Gerald (Jerry) Carter
parent 9228aeeafd
commit e4f6ca8522

View File

@ -60,11 +60,12 @@ static struct reg_init_function_entry *reg_find_backend_entry(const char *name)
{
struct reg_init_function_entry *entry;
static BOOL reg_first_init = True;
NTSTATUS status;
if(reg_first_init) {
status = register_subsystem("registry", registry_register);
if (!NT_STATUS_IS_OK(status))
return WERR_GENERAL_FAILURE;
return NULL;
static_init_registry;
reg_first_init = False;