1
0
Fork 0
mirror of https://bitbucket.org/King_DuckZ/keepupnpup.git synced 2024-11-07 21:29:00 +00:00

Fixed unused array.

This commit is contained in:
King_DuckZ 2016-09-15 02:57:31 +02:00
parent 3c498f794e
commit 5c4d505205

View file

@ -45,7 +45,7 @@ namespace {
const std::string& parDesc,
bool parTryForcing
) {
const std::vector<kuu::Redirection> redirs; // = upnp.redirections();
const std::vector<kuu::Redirection> redirs = parUpnp.redirections();
for (auto& mapping : parPortMappings) {
//std::cout << "Adding " << mapping.port << " --> " << parHost << ":" << mapping.internal_port << " " << mapping.protocol << '\n';