Remove some unreachable code.

Fixes #175. This was broken when throwing an exception on missing
positional parameters in #169.
This commit is contained in:
Jarryd Beck 2019-05-28 08:13:03 +10:00
parent e34676f73e
commit cef280fad3

View File

@ -1663,7 +1663,6 @@ ParseResult::consume_positional(std::string a)
{
throw option_not_exists_exception(*m_next_positional);
}
++m_next_positional;
}
return false;