mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix another instance of the spurious unreachable warning, this time in SemVerMatcher
This commit is contained in:
parent
d2dd84ad4b
commit
d0fb8c2e87
@ -75,6 +75,9 @@ SemVerMatchExpression parseExpression(string const& _input)
|
||||
// Ignored, since a test case should have a parsable version
|
||||
soltestAssert(false);
|
||||
}
|
||||
|
||||
// FIXME: Workaround for spurious GCC 12.1 warning (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105794)
|
||||
util::unreachable();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user