Skip to content

Commit 31888b6

Browse files
committed
[CIR][NFC] Fix an unused variable warning
1 parent 9693bf4 commit 31888b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenFunction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ LValue CIRGenFunction::emitLValue(const Expr *e) {
519519
return emitBinaryOperatorLValue(cast<BinaryOperator>(e));
520520
case Expr::CompoundAssignOperatorClass: {
521521
QualType ty = e->getType();
522-
if (const AtomicType *at = ty->getAs<AtomicType>()) {
522+
if (ty->getAs<AtomicType>()) {
523523
cgm.errorNYI(e->getSourceRange(),
524524
"CompoundAssignOperator with AtomicType");
525525
return LValue();

0 commit comments

Comments
 (0)