[Index] Fix GCC warning again :-(

llvm-svn: 322720
This commit is contained in:
Sam McCall 2018-01-17 18:20:57 +00:00
parent e01b58f0ed
commit 2686e3cac6
1 changed files with 2 additions and 2 deletions

View File

@ -738,8 +738,8 @@ static CXString CursorToText(CXCursor Cursor) {
return text;
}
}
assert(0 && "unknown display type"); // no llvm_unreachable in C.
return text; // garbage
assert(0 && "unknown display type"); /* no llvm_unreachable in C. */
return /*garbage*/ text;
}
static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) {