nghttpx: Remove AltSvc ctor

This commit is contained in:
Tatsuhiro Tsujikawa 2016-03-13 14:01:59 +09:00
parent 27275a02ac
commit 3b2811bfc4
2 changed files with 1 additions and 3 deletions

View File

@ -2065,7 +2065,7 @@ int parse_config(const char *opt, const char *optarg,
return -1;
}
AltSvc altsvc;
AltSvc altsvc{};
altsvc.protocol_id = std::move(tokens[0]);

View File

@ -256,8 +256,6 @@ enum shrpx_forwarded_node_type {
};
struct AltSvc {
AltSvc() : port(0) {}
std::string protocol_id, host, origin, service;
uint16_t port;