cvs: php4 /sapi/cgi getopt.c /sapi/cli getopt.c
| From: | Jon Parise | Date: | Sun, 27 Jan 2002 07:23:21 +0000 |
| Subject: | cvs: php4 /sapi/cgi getopt.c /sapi/cli getopt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9195@lists.php.net to get a copy of this message | ||
jon Sun Jan 27 02:23:21 2002 EDT
Modified files:
/php4/sapi/cgi getopt.c
/php4/sapi/cli getopt.c
Log:
Add a note that this statement will never be reached.
Index: php4/sapi/cgi/getopt.c
diff -u php4/sapi/cgi/getopt.c:1.4 php4/sapi/cgi/getopt.c:1.5
--- php4/sapi/cgi/getopt.c:1.4 Thu May 17 19:57:43 2001
+++ php4/sapi/cgi/getopt.c Sun Jan 27 02:23:21 2002
@@ -126,7 +126,7 @@
return(*cp);
}
assert(0);
- return(0);
+ return(0); /* never reached */
}
#ifdef TESTGETOPT
Index: php4/sapi/cli/getopt.c
diff -u php4/sapi/cli/getopt.c:1.1 php4/sapi/cli/getopt.c:1.2
--- php4/sapi/cli/getopt.c:1.1 Sun Jan 6 09:08:14 2002
+++ php4/sapi/cli/getopt.c Sun Jan 27 02:23:21 2002
@@ -126,7 +126,7 @@
return(*cp);
}
assert(0);
- return(0);
+ return(0); /* never reached */
}
#ifdef TESTGETOPT