nghttpx: Fix gcc compiler warning

This commit is contained in:
Tatsuhiro Tsujikawa 2014-08-20 00:09:18 +09:00
parent d6b495f2a7
commit 97533c966d
2 changed files with 3 additions and 3 deletions

View File

@ -55,8 +55,8 @@ ListenHandler::ListenHandler(event_base *evbase, SSL_CTX *sv_ssl_ctx,
evlistener4_(nullptr), evlistener4_(nullptr),
evlistener6_(nullptr), evlistener6_(nullptr),
worker_stat_(util::make_unique<WorkerStat>()), 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() ListenHandler::~ListenHandler()

View File

@ -93,8 +93,8 @@ private:
evconnlistener *evlistener4_; evconnlistener *evlistener4_;
evconnlistener *evlistener6_; evconnlistener *evlistener6_;
std::unique_ptr<WorkerStat> worker_stat_; std::unique_ptr<WorkerStat> worker_stat_;
size_t num_worker_shutdown_;
unsigned int worker_round_robin_cnt_; unsigned int worker_round_robin_cnt_;
int num_worker_shutdown_;
}; };
} // namespace shrpx } // namespace shrpx