Skip to content

Commit f28085a

Browse files
authored
Fix the warning in RefCntblBaseVirtualDtorChecker.cpp:61 (#93403)
1 parent f9278d6 commit f28085a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class DerefFuncDeleteExprVisitor
5858
std::optional<bool> HasSpecializedDelete(CXXMethodDecl *Decl) {
5959
if (auto *Body = Decl->getBody())
6060
return VisitBody(Body);
61-
if (auto *Tmpl = Decl->getTemplateInstantiationPattern())
61+
if (Decl->getTemplateInstantiationPattern())
6262
return std::nullopt; // Indeterminate. There was no concrete instance.
6363
return false;
6464
}

0 commit comments

Comments
 (0)