Skip to content

Commit c078e2f

Browse files
authored
[Clang] Fix a compile warning about ununsed variable (llvm#2007)
1 parent 3f17429 commit c078e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/CodeGenModule.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9059,8 +9059,8 @@ CodeGenModule::collectXteamRedVars(const OptKernelNestDirectives &NestDirs) {
90599059
return true;
90609060
};
90619061

9062-
auto getMinMaxReduction = [this](const Expr *AssignmentRhs,
9063-
bool isUnsignedInt) -> XteamRedOpKind {
9062+
auto getMinMaxReduction = [](const Expr *AssignmentRhs,
9063+
bool isUnsignedInt) -> XteamRedOpKind {
90649064
// Unsigned integer not supported right now.
90659065
if (isUnsignedInt)
90669066
return XR_OP_unknown;

0 commit comments

Comments
 (0)