cvs: php4 /sapi/cli getopt.c
| From: | Sascha Schumann | Date: | Sat, 04 May 2002 17:27:18 +0000 |
| Subject: | cvs: php4 /sapi/cli getopt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11677@lists.php.net to get a copy of this message | ||
sas Sat May 4 13:27:18 2002 EDT
Modified files:
/php4/sapi/cli getopt.c
Log:
ap_php_optopt is set but never used
Index: php4/sapi/cli/getopt.c
diff -u php4/sapi/cli/getopt.c:1.2 php4/sapi/cli/getopt.c:1.3
--- php4/sapi/cli/getopt.c:1.2 Sun Jan 27 02:23:21 2002
+++ php4/sapi/cli/getopt.c Sat May 4 13:27:18 2002
@@ -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 @@
break;
}
}
- ap_php_optopt = argv[oint][optchr];
return('?');
}