🔨 excluded uncovered lines

These breaks were just added to silence a GCC warning - the GCC is right about warning as it cannot know that the expect function will not return in these two scenarios.
This commit is contained in:
Niels Lohmann 2017-07-08 18:34:08 +02:00
parent e67df7c385
commit b3ac36db93
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -12822,14 +12822,14 @@ scan_number_done:
{
// using "uninitialized" to avoid "expected" message
expect(lexer::token_type::uninitialized);
break;
break; // LCOV_EXCL_LINE
}
default:
{
// the last token was unexpected; we expected a value
expect(lexer::token_type::literal_or_value);
break;
break; // LCOV_EXCL_LINE
}
}