cvs: php4 /ext/xslt xslt.c
| From: | Sascha Schumann | Date: | Tue, 11 Sep 2001 08:55:43 +0000 |
| Subject: | cvs: php4 /ext/xslt xslt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7395@lists.php.net to get a copy of this message | ||
sas Tue Sep 11 04:55:43 2001 EDT
Modified files:
/php4/ext/xslt xslt.c
Log:
Always return something from non-void function
Index: php4/ext/xslt/xslt.c
diff -u php4/ext/xslt/xslt.c:1.15 php4/ext/xslt/xslt.c:1.16
--- php4/ext/xslt/xslt.c:1.15 Sun Sep 9 09:29:24 2001
+++ php4/ext/xslt/xslt.c Tue Sep 11 04:55:43 2001
@@ -59,7 +59,7 @@
char *return_value = NULL; /* Value to return from the function */
if (! argv)
- return;
+ return NULL;
/* Loop through the array searching for the value */
ptr = (char **) argv;