nghttpx: Remove unused EMPTY_STRING

This commit is contained in:
Tatsuhiro Tsujikawa 2016-03-13 13:59:06 +09:00
parent 34d209b30b
commit 27275a02ac
2 changed files with 0 additions and 6 deletions

View File

@ -69,8 +69,6 @@ Config *mod_config() { return config; }
void create_config() { config = new Config(); } void create_config() { config = new Config(); }
std::string EMPTY_STRING;
TicketKeys::~TicketKeys() { TicketKeys::~TicketKeys() {
/* Erase keys from memory */ /* Erase keys from memory */
for (auto &key : keys) { for (auto &key : keys) {

View File

@ -255,10 +255,6 @@ enum shrpx_forwarded_node_type {
FORWARDED_NODE_IP, FORWARDED_NODE_IP,
}; };
// Used inside function if it has to return const reference to empty
// string without defining empty string each time.
extern std::string EMPTY_STRING;
struct AltSvc { struct AltSvc {
AltSvc() : port(0) {} AltSvc() : port(0) {}