Fix another instance of the spurious unreachable warning, this time in SemVerMatcher

This commit is contained in:
Kamil Śliwak 2022-11-25 21:36:53 +01:00
parent d2dd84ad4b
commit d0fb8c2e87

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