cppcheck: move variable down
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
d4dc1416da
commit
1db502b542
@ -1830,9 +1830,9 @@ OptionParser::consume_positional(const std::string& a, PositionalListIterator& n
|
||||
auto iter = m_options.find(*next);
|
||||
if (iter != m_options.end())
|
||||
{
|
||||
auto& result = m_parsed[iter->second->hash()];
|
||||
if (!iter->second->value().is_container())
|
||||
{
|
||||
auto& result = m_parsed[iter->second->hash()];
|
||||
if (result.count() == 0)
|
||||
{
|
||||
add_to_option(iter, *next, a);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user