Skip to content

Commit

Permalink
Remove some unreachable code.
Browse files Browse the repository at this point in the history
Fixes jarro2783#175. This was broken when throwing an exception on missing
positional parameters in jarro2783#169.
  • Loading branch information
jarro2783 committed May 27, 2019
1 parent e34676f commit cef280f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/cxxopts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,6 @@ ParseResult::consume_positional(std::string a)
{
throw option_not_exists_exception(*m_next_positional);
}
++m_next_positional;
}

return false;
Expand Down

0 comments on commit cef280f

Please sign in to comment.