summaryrefslogtreecommitdiff
path: root/common/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/getopt.c')
-rw-r--r--common/getopt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/getopt.c b/common/getopt.c
index db1eb167d1f3..9a8589c99566 100644
--- a/common/getopt.c
+++ b/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 */