summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-05-04 17:27:18 +0000
committerSascha Schumann <sas@php.net>2002-05-04 17:27:18 +0000
commit1ed3f698fe4a6c02fb524b9a4c4586c3460f99c3 (patch)
treecad81af628551a0ac9577492c0ae710939c90829
parent1f09644ff7e8ea18ef563105f9b8ec4ca11c36d4 (diff)
downloadphp-git-1ed3f698fe4a6c02fb524b9a4c4586c3460f99c3.tar.gz
ap_php_optopt is set but never used
-rw-r--r--sapi/cli/getopt.c2
1 files changed, 0 insertions, 2 deletions
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('?');
}