diff --git a/src/shrpx_worker_process.cc b/src/shrpx_worker_process.cc index 76770d10..4e92b1a9 100644 --- a/src/shrpx_worker_process.cc +++ b/src/shrpx_worker_process.cc @@ -392,6 +392,7 @@ std::random_device rd; int worker_process_event_loop(WorkerProcessConfig *wpconf) { std::array errbuf; + (void)errbuf; if (reopen_log_files() != 0) { LOG(FATAL) << "Failed to open log file";