From 7a7bb9edcaea3681b3088778559e1c4f1c2363c9 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 4 Dec 2017 10:32:10 +0100 Subject: [PATCH] interface/cpp.cc: cpp_generator::print_method_impl: drop unused variable This variable was already unused when it was introduced in isl-0.18-599-g7d3c260fb5 (cpp: support methods and constructors, Thu Apr 13 21:42:03 2017 +0200). Signed-off-by: Sven Verdoolaege --- interface/cpp.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/interface/cpp.cc b/interface/cpp.cc index 5c8d5227..b8a62b82 100644 --- a/interface/cpp.cc +++ b/interface/cpp.cc @@ -697,7 +697,6 @@ void cpp_generator::print_method_param_use(ostream &os, ParmVarDecl *param, void cpp_generator::print_method_impl(ostream &os, const isl_class &clazz, const string &fullname, FunctionDecl *method, function_kind kind) { - string cname = fullname.substr(clazz.name.length() + 1); string methodname = method->getName(); int num_params = method->getNumParams(); QualType return_type = method->getReturnType(); -- 2.11.4.GIT