]> granicus.if.org Git - php/commitdiff
Add a note that this statement will never be reached.
authorJon Parise <jon@php.net>
Sun, 27 Jan 2002 07:23:21 +0000 (07:23 +0000)
committerJon Parise <jon@php.net>
Sun, 27 Jan 2002 07:23:21 +0000 (07:23 +0000)
ext/xml/xml.c
sapi/cgi/getopt.c
sapi/cli/getopt.c

index 1647a4f317bf0292d5f5ff60c598d3dd3c8c1140..2a0c66a4e6e56f287b45963c40cb2c958f1c4107 100644 (file)
@@ -1562,7 +1562,8 @@ PHP_FUNCTION(xml_parser_get_option)
                        RETURN_FALSE;
                        break;
        }
-       RETVAL_FALSE;
+
+       RETVAL_FALSE;   /* never reached */
 }
 /* }}} */
 
index 120870108a42e393f713f7a02eae816d9b154f1f..a26ca3c43178b5ef2925c1be8a3b9d2dc37baa2f 100644 (file)
@@ -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
index 120870108a42e393f713f7a02eae816d9b154f1f..a26ca3c43178b5ef2925c1be8a3b9d2dc37baa2f 100644 (file)
@@ -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