From: Jon Parise Date: Sun, 27 Jan 2002 07:23:21 +0000 (+0000) Subject: Add a note that this statement will never be reached. X-Git-Tag: PRE_ISSET_PATCH~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea089d09aef2df9a9d246b2fd2308a105a7debda;p=php Add a note that this statement will never be reached. --- 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