From c42715ed6acf6f4e60ea3a32498b8998d9e54247 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 23 Oct 2016 19:17:17 +0900 Subject: [PATCH] nghttpx: Fix compile error with --disable-threads --- src/shrpx_worker_process.cc | 1 + 1 file changed, 1 insertion(+) 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";