mirror of
https://github.com/php/php-src.git
synced 2026-04-23 07:58:20 +02:00
Always return something from non-void function
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user