aboutsummaryrefslogtreecommitdiff
path: root/Lib/php
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2012-09-07 06:06:00 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2012-09-07 06:06:00 +0000
commit2c74c90430fe83529c68de84daacf01c949e5f36 (patch)
treeb96541ce993e37c64a2fa12cd45743d75c19a0ac /Lib/php
parentd496352805b806a103c4de1bce367c99f9814f2a (diff)
downloadswig-2c74c90430fe83529c68de84daacf01c949e5f36.tar.gz
Fix for gcc warning -Wunused-value without triggering -Wunused-parameter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/php')
-rw-r--r--Lib/php/phprun.swg4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/php/phprun.swg b/Lib/php/phprun.swg
index 1404955e0..92f2f3fe5 100644
--- a/Lib/php/phprun.swg
+++ b/Lib/php/phprun.swg
@@ -79,7 +79,7 @@ static int default_error_code = E_ERROR;
if (!(expr) ) { zend_printf("Contract Assert Failed %s\n",msg ); } else
/* Standard SWIG API */
-#define SWIG_GetModule(clientdata) SWIG_Php_GetModule()
+#define SWIG_GetModule(clientdata) SWIG_Php_GetModule(clientdata)
#define SWIG_SetModule(clientdata, pointer) SWIG_Php_SetModule(pointer)
/* used to wrap returned objects in so we know whether they are newobject
@@ -252,7 +252,7 @@ SWIG_ZTS_ConvertPtr(zval *z, void **ptr, swig_type_info *ty, int flags TSRMLS_DC
}
static char const_name[] = "swig_runtime_data_type_pointer";
-static swig_module_info *SWIG_Php_GetModule() {
+static swig_module_info *SWIG_Php_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
zval *pointer;
swig_module_info *ret = 0;