Skip to content

Commit 32151c6

Browse files
committed
SIL: silence -Wunused-variable (NFC)
1 parent 7bb534b commit 32151c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SIL/SILVTableVisitor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ template <class T> class SILVTableVisitor {
140140
}
141141

142142
void maybeAddMember(Decl *member) {
143-
if (auto *ad = dyn_cast<AccessorDecl>(member))
143+
if (isa<AccessorDecl>(member))
144144
/* handled as part of its storage */;
145145
else if (auto *fd = dyn_cast<FuncDecl>(member))
146146
maybeAddMethod(fd);

0 commit comments

Comments
 (0)