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:
parent
3c498f794e
commit
5c4d505205
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ namespace {
|
||||||
const std::string& parDesc,
|
const std::string& parDesc,
|
||||||
bool parTryForcing
|
bool parTryForcing
|
||||||
) {
|
) {
|
||||||
const std::vector<kuu::Redirection> redirs; // = upnp.redirections();
|
const std::vector<kuu::Redirection> redirs = parUpnp.redirections();
|
||||||
|
|
||||||
for (auto& mapping : parPortMappings) {
|
for (auto& mapping : parPortMappings) {
|
||||||
//std::cout << "Adding " << mapping.port << " --> " << parHost << ":" << mapping.internal_port << " " << mapping.protocol << '\n';
|
//std::cout << "Adding " << mapping.port << " --> " << parHost << ":" << mapping.internal_port << " " << mapping.protocol << '\n';
|
||||||
|
|
Loading…
Reference in a new issue