diff --git a/src/Parser/Parser.cpp b/src/Parser/Parser.cpp index 25668510..086f6675 100644 --- a/src/Parser/Parser.cpp +++ b/src/Parser/Parser.cpp @@ -432,8 +432,6 @@ CppSharp::FunctionTemplate^ Parser::WalkFunctionTemplate(clang::FunctionTemplate using namespace clang; using namespace clix; - auto NS = GetNamespace(TD); - auto Function = WalkFunction(TD->getTemplatedDecl(), /*IsDependent=*/true, /*AddToNamespace=*/false); CppSharp::FunctionTemplate^ FT = gcnew CppSharp::FunctionTemplate(Function);