diff options
-rw-r--r-- | ext/xml/xml.c | 3 | ||||
-rw-r--r-- | sapi/cgi/getopt.c | 2 | ||||
-rw-r--r-- | sapi/cli/getopt.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 1647a4f317..2a0c66a4e6 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -1562,7 +1562,8 @@ PHP_FUNCTION(xml_parser_get_option) RETURN_FALSE; break; } - RETVAL_FALSE; + + RETVAL_FALSE; /* never reached */ } /* }}} */ diff --git a/sapi/cgi/getopt.c b/sapi/cgi/getopt.c index 120870108a..a26ca3c431 100644 --- a/sapi/cgi/getopt.c +++ b/sapi/cgi/getopt.c @@ -126,7 +126,7 @@ int ap_php_getopt(int argc, char* const *argv, const char *optstr) return(*cp); } assert(0); - return(0); + return(0); /* never reached */ } #ifdef TESTGETOPT diff --git a/sapi/cli/getopt.c b/sapi/cli/getopt.c index 120870108a..a26ca3c431 100644 --- a/sapi/cli/getopt.c +++ b/sapi/cli/getopt.c @@ -126,7 +126,7 @@ int ap_php_getopt(int argc, char* const *argv, const char *optstr) return(*cp); } assert(0); - return(0); + return(0); /* never reached */ } #ifdef TESTGETOPT |