Skip to content

Commit b38f509

Browse files
authored
[SYCL] Silence an unused variable warning; NFC (#3113)
1 parent c36fa65 commit b38f509

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/Sema/SemaDeclAttr.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4853,7 +4853,6 @@ static void handleSYCLDeviceIndirectlyCallableAttr(Sema &S, Decl *D,
48534853
}
48544854

48554855
static void handleSYCLRegisterNumAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
4856-
auto *VD = cast<VarDecl>(D);
48574856
if (!checkAttributeNumArgs(S, AL, 1))
48584857
return;
48594858
uint32_t RegNo = 0;

0 commit comments

Comments
 (0)