diff --git a/src/api/api.c b/src/api/api.c index 444dc45ab..a463fc9fd 100644 --- a/src/api/api.c +++ b/src/api/api.c @@ -108,6 +108,11 @@ static struct { int api_handler(struct mg_connection *conn, void *ignored) { + // Unused, but required by CivetWeb + // This is a no-op but suppresses the warning "unused parameter + // 'ignored'" on modern compilers + (void)ignored; + // Prepare API info struct struct ftl_conn api = { conn, diff --git a/src/database/database-thread.c b/src/database/database-thread.c index 6dcebad78..7f5ae04a6 100644 --- a/src/database/database-thread.c +++ b/src/database/database-thread.c @@ -220,16 +220,6 @@ void *DB_thread(void *val) // Intermediate cancellation-point BREAK_IF_KILLED(); - // Import alias-clients - if(get_and_clear_event(REIMPORT_ALIASCLIENTS)) - { - lock_shm(); - reimport_aliasclients(db); - unlock_shm(); - } - - BREAK_IF_KILLED(); - // Sleep 0.1 sec thread_sleepms(DB, 100); }