summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/common/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/common/getopt.c')
-rw-r--r--sys/contrib/dev/acpica/common/getopt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/contrib/dev/acpica/common/getopt.c b/sys/contrib/dev/acpica/common/getopt.c
index b4a5b9e..34a66ee 100644
--- a/sys/contrib/dev/acpica/common/getopt.c
+++ b/sys/contrib/dev/acpica/common/getopt.c
@@ -126,7 +126,6 @@
int AcpiGbl_Opterr = 1;
int AcpiGbl_Optind = 1;
-int AcpiGbl_Optopt;
char *AcpiGbl_Optarg;
@@ -171,9 +170,7 @@ AcpiGetopt(
/* Get the option */
- CurrentChar =
- AcpiGbl_Optopt =
- argv[AcpiGbl_Optind][CurrentCharPtr];
+ CurrentChar = argv[AcpiGbl_Optind][CurrentCharPtr];
/* Make sure that the option is legal */
OpenPOWER on IntegriCloud