From 5c4d505205e9f0fe18fedcf0ad33f5fa7973b5a4 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Thu, 15 Sep 2016 02:57:31 +0200 Subject: [PATCH] Fixed unused array. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 9fbd9c7..552daed 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -45,7 +45,7 @@ namespace { const std::string& parDesc, bool parTryForcing ) { - const std::vector redirs; // = upnp.redirections(); + const std::vector redirs = parUpnp.redirections(); for (auto& mapping : parPortMappings) { //std::cout << "Adding " << mapping.port << " --> " << parHost << ":" << mapping.internal_port << " " << mapping.protocol << '\n';