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) {}