CLI: Removed overly complex handling of terminator in ::findOverrides.

This commit is contained in:
Paul Beckingham 2015-06-06 11:08:19 -04:00
parent 1281dfbf22
commit 207048514d

View file

@ -781,16 +781,13 @@ void CLI::findOverrides ()
{
bool changes = false;
std::string raw;
bool terminated = false;
for (auto& a : _args)
{
raw = a.attribute ("raw");
if (raw == "--")
terminated = true;
if (terminated)
continue;
break;
if (isRCOverride (raw))
{