Skip to content

Commit abf219b

Browse files
committed
Fix compile warning for unused variable.
1 parent fb1f637 commit abf219b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/Passes/SymbolsCodeGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public override void Process()
3434

3535
public override bool VisitMethodDecl(Method method)
3636
{
37-
if (method.Namespace is ClassTemplateSpecialization specialization &&
37+
if (method.Namespace is ClassTemplateSpecialization &&
3838
(method.TranslationUnit.IsSystemHeader ||
3939
((method.IsConstructor || method.IsDestructor) &&
4040
!method.IsImplicit && !method.IsDefaulted && !method.IsPure &&

0 commit comments

Comments
 (0)