From 13fe2a9517e93ae10cca848b5ebf87a1de17bffb Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Tue, 19 Jan 2016 22:47:51 +0000 Subject: Placate MVSC after my last commit. Zachary introduced the 'default' case explicitly to placate a warning in the Microsoft compiler but that broke clang with -Werror. The new code should keep both compilers happy. llvm-svn: 258212 --- lldb/source/Expression/ExpressionSourceCode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Expression/ExpressionSourceCode.cpp') diff --git a/lldb/source/Expression/ExpressionSourceCode.cpp b/lldb/source/Expression/ExpressionSourceCode.cpp index c4ab7a95d7a..93bac62c43c 100644 --- a/lldb/source/Expression/ExpressionSourceCode.cpp +++ b/lldb/source/Expression/ExpressionSourceCode.cpp @@ -106,8 +106,6 @@ public: { case CURRENT_FILE_NOT_YET_PUSHED: return true; - case CURRENT_FILE_POPPED: - return false; case CURRENT_FILE_PUSHED: // If we are in file included in the current file, // the entry should be added. @@ -118,6 +116,8 @@ public: return false; else return true; + default: + return false; } } -- cgit v1.2.3