summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2023-05-08 15:40:07 +1200
committerOlly Betts <olly@survex.com>2023-05-08 15:45:12 +1200
commit0fa2ab8945ff40e770045dd86ed0380c006643fc (patch)
tree57ae1ea57dba8db73dfb40e665af24a647f96e5c /Source
parent15b739d60e9586025b665c19a85a09280d4ff9ad (diff)
downloadswig-0fa2ab8945ff40e770045dd86ed0380c006643fc.tar.gz
Removed unused default parameter value
Diffstat (limited to 'Source')
-rw-r--r--Source/Modules/php.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Modules/php.cxx b/Source/Modules/php.cxx
index c2b19367d..8e16c6969 100644
--- a/Source/Modules/php.cxx
+++ b/Source/Modules/php.cxx
@@ -948,7 +948,7 @@ public:
}
/* Just need to append function names to function table to register with PHP. */
- void create_command(String *cname, String *fname, Node *n, bool dispatch, String *modes = NULL) {
+ void create_command(String *cname, String *fname, Node *n, bool dispatch, String *modes) {
// This is for the single main zend_function_entry record
ParmList *l = Getattr(n, "parms");
if (cname && !Equal(Getattr(n, "storage"), "friend")) {