summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2021-05-04 11:35:26 +1200
committerOlly Betts <olly@survex.com>2021-05-04 11:36:24 +1200
commit592f23029566d08412fbcf00c467f4b2a539dace (patch)
tree1ba0295617c7d06c36b006a2147a40053fac9c68 /Source
parentf227e5fae4fe3e025a49d85443872f34c0c05301 (diff)
downloadswig-592f23029566d08412fbcf00c467f4b2a539dace.tar.gz
Remove CG(active_class_entry) = NULL;
This has been in the code for a really long time, and doesn't seem to be required now. It's not documented by PHP as something we need to do, and the value seems to always be NULL at this point already.
Diffstat (limited to 'Source')
-rw-r--r--Source/Modules/php.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Modules/php.cxx b/Source/Modules/php.cxx
index 05cb570a6..02e51e721 100644
--- a/Source/Modules/php.cxx
+++ b/Source/Modules/php.cxx
@@ -530,8 +530,6 @@ public:
*/
// Printv(s_init,s_resourcetypes,NIL);
- /* We need this after all classes written out by ::top */
- Printf(s_oinit, " CG(active_class_entry) = NULL;\n");
Printf(s_oinit, " /* end oinit subsection */\n");
Printf(s_init, "%s\n", s_oinit);