From ec0cc4e29cf55e6745a26f5a0fef15344b40e229 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Sat, 20 Jan 2018 22:26:48 +0100 Subject: [PATCH] templatesimplifier: Removed redundant local string variable. (#1041) --- lib/templatesimplifier.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/templatesimplifier.cpp b/lib/templatesimplifier.cpp index 825cb78fc..0064607e6 100644 --- a/lib/templatesimplifier.cpp +++ b/lib/templatesimplifier.cpp @@ -1516,9 +1516,6 @@ bool TemplateSimplifier::simplifyTemplateInstantiations( return false; } - // name of template function/class.. - const std::string name(tok->strAt(namepos)); - const bool isfunc(tok->strAt(namepos + 1) == "("); // locate template usage..