mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13766 from ethereum/fix-spurious-unreachable-warning-in-semvermatcher
Fix spurious unreachable warning in `SemVerMatcher`
This commit is contained in:
commit
40b24850d2
@ -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