From: Aaron Ballman Date: Thu, 29 Aug 2013 20:25:14 +0000 (+0000) Subject: Silencing a rather spurious warning from MSVC 11 about not all control paths returnin... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f55157a5b3f60389e32b337bdf50eeea50f8f77;p=clang Silencing a rather spurious warning from MSVC 11 about not all control paths returning a value (hint: they do). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189605 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/Consumed.cpp b/lib/Analysis/Consumed.cpp index 43e2153c22..b004083ed8 100644 --- a/lib/Analysis/Consumed.cpp +++ b/lib/Analysis/Consumed.cpp @@ -74,6 +74,7 @@ static bool isKnownState(ConsumedState State) { return true; case CS_None: case CS_Unknown: + default: return false; } }