[cfe-commits] r140775 - /cfe/trunk/lib/Sema/SemaChecking.cpp
David Blaikie
dblaikie at gmail.com
Wed Sep 28 21:06:49 PDT 2011
Author: dblaikie
Date: Wed Sep 28 23:06:47 2011
New Revision: 140775
URL: http://llvm.org/viewvc/llvm-project?rev=140775&view=rev
Log:
Unnecessary else
Modified:
cfe/trunk/lib/Sema/SemaChecking.cpp
Modified: cfe/trunk/lib/Sema/SemaChecking.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaChecking.cpp?rev=140775&r1=140774&r2=140775&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaChecking.cpp (original)
+++ cfe/trunk/lib/Sema/SemaChecking.cpp Wed Sep 28 23:06:47 2011
@@ -3245,8 +3245,7 @@
// 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.
More information about the cfe-commits
mailing list