]> granicus.if.org Git - php/commitdiff
Always return something from non-void function
authorSascha Schumann <sas@php.net>
Tue, 11 Sep 2001 08:55:44 +0000 (08:55 +0000)
committerSascha Schumann <sas@php.net>
Tue, 11 Sep 2001 08:55:44 +0000 (08:55 +0000)
ext/xslt/xslt.c

index a248d4ec59c7e3c1f67277581b352ee02b52c420..9f098542980b47ae4cc7c5d0e32732b46a22d404 100644 (file)
@@ -59,7 +59,7 @@ static char *_find_xslt_argument(const char **argv, const char *key)
        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;