Merge pull request #13766 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
+3
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();
}
}