From da08e8306f9fb7eb7cf2126e69dcfd812bc3e97f Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Tue, 16 Jan 2018 12:54:28 +0000 Subject: [PATCH] Squash -Wcovered-switch-default wairning git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322549 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/c-index-test/c-index-test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index 236813498b..0b66eff078 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -729,8 +729,7 @@ static CXString CursorToText(CXCursor Cursor) { return clang_getCursorSpelling(Cursor); case DisplayType_DisplayName: return clang_getCursorDisplayName(Cursor); - case DisplayType_Pretty: - default: { + case DisplayType_Pretty: { CXString text; CXPrintingPolicy Policy = clang_getCursorPrintingPolicy(Cursor); ModifyPrintingPolicyAccordingToEnv(Policy); -- 2.40.0