diff --git a/repos/base/src/lib/startup/init_main_thread.cc b/repos/base/src/lib/startup/init_main_thread.cc index e0a6efc392..4efaeecd83 100644 --- a/repos/base/src/lib/startup/init_main_thread.cc +++ b/repos/base/src/lib/startup/init_main_thread.cc @@ -104,7 +104,7 @@ extern "C" void init_main_thread() * Explicitly setup program environment at this point to ensure that its * destructor won't be registered for the atexit routine. */ - (void*)env_deprecated(); + (void)env_deprecated(); init_log(*env_deprecated()->parent()); /* create a thread object for the main thread */