diff options
author | Olly Betts <olly@survex.com> | 2021-12-10 17:10:35 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2021-12-10 17:10:35 +1300 |
commit | fd013c344ac063b9feffc3023bbeee8d7159c841 (patch) | |
tree | e375f5c7c991823e98b993be3a228f1bc0550f1b | |
parent | c60507ef70212d7d3215d754f7fdfcb00d590454 (diff) | |
download | swig-fd013c344ac063b9feffc3023bbeee8d7159c841.tar.gz |
[php] Remove unused variable
SWIG_module_entry hasn't actually been used for any of git history
which is over 19 years.
-rw-r--r-- | Source/Modules/php.cxx | 3 |
1 files changed, 1 insertions, 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"); |