Commit 97533c96 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Fix gcc compiler warning

parent d6b495f2
......@@ -55,8 +55,8 @@ ListenHandler::ListenHandler(event_base *evbase, SSL_CTX *sv_ssl_ctx,
evlistener4_(nullptr),
evlistener6_(nullptr),
worker_stat_(util::make_unique<WorkerStat>()),
worker_round_robin_cnt_(0),
num_worker_shutdown_(0)
num_worker_shutdown_(0),
worker_round_robin_cnt_(0)
{}
ListenHandler::~ListenHandler()
......
......@@ -93,8 +93,8 @@ private:
evconnlistener *evlistener4_;
evconnlistener *evlistener6_;
std::unique_ptr<WorkerStat> worker_stat_;
size_t num_worker_shutdown_;
unsigned int worker_round_robin_cnt_;
int num_worker_shutdown_;
};
} // namespace shrpx
......
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