From fd013c344ac063b9feffc3023bbeee8d7159c841 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Fri, 10 Dec 2021 17:10:35 +1300 Subject: [php] Remove unused variable SWIG_module_entry hasn't actually been used for any of git history which is over 19 years. --- Source/Modules/php.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Modules/php.cxx b/Source/Modules/php.cxx index e39ad4dbe..f7decbf3c 100644 --- a/Source/Modules/php.cxx +++ b/Source/Modules/php.cxx @@ -471,8 +471,7 @@ public: Printf(s_init, " NO_VERSION_YET,\n"); } Printf(s_init, " STANDARD_MODULE_PROPERTIES\n"); - Printf(s_init, "};\n"); - Printf(s_init, "zend_module_entry* SWIG_module_entry = &%s_module_entry;\n\n", module); + Printf(s_init, "};\n\n"); Printf(s_init, "#ifdef __cplusplus\n"); Printf(s_init, "extern \"C\" {\n"); -- cgit v1.2.1