Merge pull request from ethereum/fix-spurious-unreachable-warning-in-semvermatcher

Fix spurious unreachable warning in `SemVerMatcher`
This commit is contained in:
Kamil Śliwak 2022-11-30 00:41:17 +01:00 committed by GitHub
commit 40b24850d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}
}