From c5bcbb55cc7dd3d0b8a04c6bee7254b18d60a357 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 30 Jul 2009 14:13:17 +0200 Subject: [PATCH] PHP: Cleanups. --- Source/Modules/php.cxx | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Source/Modules/php.cxx b/Source/Modules/php.cxx index c498d54..5517733 100644 --- a/Source/Modules/php.cxx +++ b/Source/Modules/php.cxx @@ -2041,7 +2041,7 @@ public: virtual int memberfunctionHandler(Node *n) { wrapperType = memberfn; - this->Language::memberfunctionHandler(n); + Language::memberfunctionHandler(n); wrapperType = standard; return SWIG_OK; @@ -2325,10 +2325,6 @@ public: return Language::classDirectorConstructor(n); } - int classDirectorDefaultConstructor(Node *n) { - return Language::classDirectorDefaultConstructor(n); - } - int classDirectorMethod(Node *n, Node *parent, String *super) { int is_void = 0; int is_pointer = 0; @@ -2655,9 +2651,7 @@ public: return status; } - int classDirectorDisown(Node *n) { - /* avoid a warning */ - n = n; + int classDirectorDisown(Node *) { return SWIG_OK; } }; /* class PHP */ -- 1.6.3.3