nghttpx: Fix gcc compiler warning
This commit is contained in:
parent
d6b495f2a7
commit
97533c966d
|
@ -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()
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue