From ed86e68fe160b2fe3cffa5f70ac7b8af1fe0cd20 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Mon, 19 Apr 2021 11:37:21 +1200 Subject: [PATCH] Remove variable which is set but never used --- Source/Modules/php.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/Modules/php.cxx b/Source/Modules/php.cxx index 4def86968..bf2c7def1 100644 --- a/Source/Modules/php.cxx +++ b/Source/Modules/php.cxx @@ -1998,8 +1998,6 @@ public: } } else { /* attach typemaps to arguments (C/C++ -> PHP) */ - String *parse_args = NewStringEmpty(); - Swig_director_parms_fixup(l); /* remove the wrapper 'w' since it was producing spurious temps */ @@ -2042,9 +2040,7 @@ public: Delete(input); Replaceall(tm, "$owner", "0"); Printv(wrap_args, tm, "\n", NIL); - Putc('O', parse_args); } else { - Append(parse_args, parse); Setattr(p, "emit:directorinput", pname); Replaceall(tm, "$input", pname); Replaceall(tm, "$owner", "0"); @@ -2167,7 +2163,6 @@ public: } } - Delete(parse_args); Delete(cleanup); Delete(outarg); }