aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-09-29 04:06:47 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-09-29 04:06:47 +0000
commite37cdc42bf7298a974dfdfa9c03ef11398e7c889 (patch)
tree3b1d18961df3abda96ba3a53f1d5f018579982ea /lib/Sema/SemaChecking.cpp
parentaeacae523a1c6e5bb99d12754415bbbc3ccb86c9 (diff)
Unnecessary else
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
-rw-r--r--lib/Sema/SemaChecking.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp
index 9b13c72d1f..c29ffb5368 100644
--- a/lib/Sema/SemaChecking.cpp
+++ b/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.