Commit 72ae095d authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

services: Change scmdatabase_remove_service to a void function.

parent 556f384a
......@@ -282,18 +282,11 @@ DWORD scmdatabase_add_service(struct scmdatabase *db, struct service_entry *serv
return ERROR_SUCCESS;
}
static DWORD scmdatabase_remove_service(struct scmdatabase *db, struct service_entry *service)
static void scmdatabase_remove_service(struct scmdatabase *db, struct service_entry *service)
{
int err;
err = RegDeleteTreeW(db->root_key, service->name);
if (err != 0)
return err;
RegDeleteTreeW(db->root_key, service->name);
list_remove(&service->entry);
service->entry.next = service->entry.prev = NULL;
return ERROR_SUCCESS;
}
static void scmdatabase_autostart_services(struct scmdatabase *db)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment