summaryrefslogtreecommitdiff
path: root/source/compiler/cvparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/cvparser.c')
-rw-r--r--source/compiler/cvparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler/cvparser.c b/source/compiler/cvparser.c
index 9941582a56db..b2e3e7674295 100644
--- a/source/compiler/cvparser.c
+++ b/source/compiler/cvparser.c
@@ -714,7 +714,7 @@ CvCaptureCommentsOnly (
UINT8 *Aml = ParserState->Aml;
UINT16 Opcode = (UINT16) ACPI_GET8 (Aml);
UINT32 Length = 0;
- UINT8 CommentOption = (UINT16) ACPI_GET8 (Aml+1);
+ UINT8 CommentOption;
BOOLEAN StdDefBlockFlag = FALSE;
ACPI_COMMENT_NODE *CommentNode;
ACPI_FILE_NODE *FileNode;