Skip to content

Commit

Permalink
#5122 Remove unused local variables
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 6, 2020
1 parent f708ef7 commit f14869c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiant/filters/BasicFilterSystem.cpp
Expand Up @@ -388,7 +388,7 @@ bool BasicFilterSystem::addFilter(const std::string& filterName, const FilterRul
}

auto filter = std::make_shared<XMLFilter>(filterName, false);
auto result = _availableFilters.emplace(filterName, filter);
_availableFilters.emplace(filterName, filter);

// Apply the ruleset
filter->setRules(ruleSet);
Expand Down Expand Up @@ -484,7 +484,7 @@ bool BasicFilterSystem::renameFilter(const std::string& oldFilterName, const std
}

// Insert the new filter into the table
auto result = _availableFilters.emplace(newFilterName, f->second);
_availableFilters.emplace(newFilterName, f->second);

// If this filter is in our active set, enable it
if (wasActive)
Expand Down

0 comments on commit f14869c

Please sign in to comment.