Skip to content

Commit 0ba1726

Browse files
Update lib/CppInterOp/CppInterOp.cpp
Co-authored-by: Vassil Vassilev <[email protected]>
1 parent bd6129e commit 0ba1726

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/CppInterOp/CppInterOp.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -873,12 +873,10 @@ static void GetClassDecls(TCppScope_t klass,
873873
if (CXXCD->isDeleted())
874874
continue;
875875

876-
CXXConstructorDecl* Result =
877-
getSema().findInheritingConstructor(SourceLocation(), CXXCD, CUSD);
878876
// Result is appended to the decls, i.e. CXXRD, iterator
879877
// non-shadowed decl will be push_back later
880878
// methods.push_back(Result);
881-
(void)Result;
879+
getSema().findInheritingConstructor(SourceLocation(), CXXCD, CUSD);
882880
}
883881
}
884882
}

0 commit comments

Comments
 (0)