Fix OSX compile issue with -Winvalid-noreturn, bug1440.

This commit is contained in:
Wilson Snyder
2019-05-14 20:51:28 -04:00
parent 6ef7d5f0fd
commit 8ad1a68420
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ void V3GraphVertex::v3errorEnd(std::ostringstream& str) const {
}
}
void V3GraphVertex::v3errorEndFatal(std::ostringstream& str) const {
v3errorEnd(str); assert(0);
v3errorEnd(str); assert(0); VL_UNREACHABLE
}
std::ostream& operator<<(std::ostream& os, V3GraphVertex* vertexp) {