Skip to content

Commit 61eb6fe

Browse files
committed
Addressed Firewave's review comments.
1 parent 02ae197 commit 61eb6fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,6 @@ static bool areExprsSameMacroOrLiteral(const BinaryOperator *BinOp,
927927
if (Lil && Ril)
928928
return Lil->getValue() == Ril->getValue();
929929

930-
const auto *LStrl = dyn_cast<StringLiteral>(Lhs);
931-
const auto *RStrl = dyn_cast<StringLiteral>(Rhs);
932930
const auto *Lbl = dyn_cast<CXXBoolLiteralExpr>(Lhs);
933931
const auto *Rbl = dyn_cast<CXXBoolLiteralExpr>(Rhs);
934932
if (Lbl && Rbl)

0 commit comments

Comments
 (0)