From: Sascha Schumann Date: Sat, 4 May 2002 17:27:18 +0000 (+0000) Subject: ap_php_optopt is set but never used X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~245 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ed3f698fe4a6c02fb524b9a4c4586c3460f99c3;p=php ap_php_optopt is set but never used --- diff --git a/sapi/cli/getopt.c b/sapi/cli/getopt.c index a26ca3c431..f5874d577e 100644 --- a/sapi/cli/getopt.c +++ b/sapi/cli/getopt.c @@ -13,7 +13,6 @@ char *ap_php_optarg; int ap_php_optind = 1; static int ap_php_opterr = 1; -static int ap_php_optopt; static int ap_php_optiserr(int argc, char * const *argv, int oint, const char *optstr, @@ -38,7 +37,6 @@ ap_php_optiserr(int argc, char * const *argv, int oint, const char *optstr, break; } } - ap_php_optopt = argv[oint][optchr]; return('?'); }