Skip to content

Commit bea4754

Browse files
committed
Eliminates unused variable.
1 parent 6a4aca0 commit bea4754

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tools/clang/lib/Sema/SemaHLSL.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13823,7 +13823,6 @@ void ValidateDispatchGridValues(DiagnosticsEngine &Diags,
1382313823
void recordAttrArgs(Sema &S, const AttributeList &A, Attr *attr) {
1382413824
auto *exprs = new (S.Context) SmallVector<const DeclRefExpr *, 4>();
1382513825
for (unsigned i = 0; i < A.getNumArgs(); i++) {
13826-
DeclRefExpr *expr = nullptr;
1382713826
exprs->push_back(
1382813827
A.isArgExpr(i) ? dyn_cast_or_null<const DeclRefExpr>(A.getArgAsExpr(i))
1382913828
: nullptr);

0 commit comments

Comments
 (0)