Fixed typo introduced by r46133 that caused -Wfloat-equal to break.

llvm-svn: 46134
This commit is contained in:
Ted Kremenek 2008-01-17 17:55:13 +00:00
parent f1dae23b68
commit 32a3358eab
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ void Sema::CheckFloatComparison(SourceLocation loc, Expr* lex, Expr *rex) {
bool EmitWarning = true;
Expr* LeftExprSansParen = lex->IgnoreParens();
Expr* RightExprSansParen = lex->IgnoreParens();
Expr* RightExprSansParen = rex->IgnoreParens();
// Special case: check for x == x (which is OK).
// Do not emit warnings for such cases.