From 27275a02aca9008c2c551d6228612f07e692c662 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 13 Mar 2016 13:59:06 +0900 Subject: [PATCH] nghttpx: Remove unused EMPTY_STRING --- src/shrpx_config.cc | 2 -- src/shrpx_config.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/shrpx_config.cc b/src/shrpx_config.cc index 2a08b690..8e3dec1c 100644 --- a/src/shrpx_config.cc +++ b/src/shrpx_config.cc @@ -69,8 +69,6 @@ Config *mod_config() { return config; } void create_config() { config = new Config(); } -std::string EMPTY_STRING; - TicketKeys::~TicketKeys() { /* Erase keys from memory */ for (auto &key : keys) { diff --git a/src/shrpx_config.h b/src/shrpx_config.h index 5a31e820..f849fc39 100644 --- a/src/shrpx_config.h +++ b/src/shrpx_config.h @@ -255,10 +255,6 @@ enum shrpx_forwarded_node_type { 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 { AltSvc() : port(0) {}