From 7833b7db1fac1abf654bccf6bc52031df8eae405 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 29 Sep 2011 04:06:47 +0000 Subject: Unnecessary else llvm-svn: 140775 --- clang/lib/Sema/SemaChecking.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/Sema/SemaChecking.cpp') diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index 9b13c72d1f2..c29ffb5368b 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -3245,8 +3245,7 @@ void CheckImplicitConversion(Sema &S, Expr *E, QualType T, // by a check in AnalyzeImplicitConversions(). return DiagnoseImpCast(S, E, T, CC, diag::warn_impcast_string_literal_to_bool); - else // Other casts to bool are not checked. - return; + return; // Other casts to bool are not checked. } // Strip vector types. -- cgit v1.2.3