🔨 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:
parent
e67df7c385
commit
b3ac36db93
1 changed files with 2 additions and 2 deletions
|
@ -12822,14 +12822,14 @@ scan_number_done:
|
||||||
{
|
{
|
||||||
// using "uninitialized" to avoid "expected" message
|
// using "uninitialized" to avoid "expected" message
|
||||||
expect(lexer::token_type::uninitialized);
|
expect(lexer::token_type::uninitialized);
|
||||||
break;
|
break; // LCOV_EXCL_LINE
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
// the last token was unexpected; we expected a value
|
// the last token was unexpected; we expected a value
|
||||||
expect(lexer::token_type::literal_or_value);
|
expect(lexer::token_type::literal_or_value);
|
||||||
break;
|
break; // LCOV_EXCL_LINE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue