nghttpx: Workaround for some older gcc4.9

This commit is contained in:
Tatsuhiro Tsujikawa 2016-04-23 18:20:50 +09:00
parent 52b455cfeb
commit 86777defa8
1 changed files with 1 additions and 2 deletions

View File

@ -145,8 +145,7 @@ Worker::Worker(struct ev_loop *loop, SSL_CTX *sv_ssl_ctx, SSL_CTX *cl_ssl_ctx,
// TODO for some reason, clang-3.6 which comes with Ubuntu 15.10 // TODO for some reason, clang-3.6 which comes with Ubuntu 15.10
// does not value initialize SharedDownstreamAddr above. // does not value initialize SharedDownstreamAddr above.
*shared_addr = SharedDownstreamAddr{}; shared_addr->next = 0;
shared_addr->addrs.resize(src.addrs.size()); shared_addr->addrs.resize(src.addrs.size());
shared_addr->proto = src.proto; shared_addr->proto = src.proto;
shared_addr->tls = src.tls; shared_addr->tls = src.tls;