summaryrefslogtreecommitdiff
path: root/source/compiler/aslload.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-05-17 23:13:40 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-05-17 23:13:40 +0000
commitb7f987c19dad2c6d33c64e7f96a9b4deca9e2650 (patch)
tree740dae2325e162bb086ea6e7e5d481c4b669e232 /source/compiler/aslload.c
parentb4a951799e313e9ec15d955b72dd3097e4880724 (diff)
Notes
Diffstat (limited to 'source/compiler/aslload.c')
-rw-r--r--source/compiler/aslload.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/compiler/aslload.c b/source/compiler/aslload.c
index e581df2ce8b6b..7f3ce1d7b7a10 100644
--- a/source/compiler/aslload.c
+++ b/source/compiler/aslload.c
@@ -177,7 +177,9 @@ LdLoadFieldElements (
break;
default:
+
/* No other opcodes should arrive here */
+
return (AE_BAD_PARAMETER);
}
@@ -374,6 +376,7 @@ LdNamespace1Begin (
default:
/* All other opcodes go below */
+
break;
}
@@ -422,7 +425,6 @@ LdNamespace1Begin (
case PARSEOP_EXTERNAL:
-
/*
* "External" simply enters a name and type into the namespace.
* We must be careful to not open a new scope, however, no matter
@@ -466,7 +468,6 @@ LdNamespace1Begin (
case PARSEOP_SCOPE:
-
/*
* The name referenced by Scope(Name) must already exist at this point.
* In other words, forward references for Scope() are not supported.
@@ -521,7 +522,6 @@ LdNamespace1Begin (
case ACPI_TYPE_INTEGER:
case ACPI_TYPE_STRING:
case ACPI_TYPE_BUFFER:
-
/*
* These types we will allow, but we will change the type.
* This enables some existing code of the form: