summaryrefslogtreecommitdiff
path: root/source/compiler/aslutils.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/aslutils.c
parentb4a951799e313e9ec15d955b72dd3097e4880724 (diff)
Notes
Diffstat (limited to 'source/compiler/aslutils.c')
-rw-r--r--source/compiler/aslutils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/compiler/aslutils.c b/source/compiler/aslutils.c
index a3690b13b8d82..8174eebb5c030 100644
--- a/source/compiler/aslutils.c
+++ b/source/compiler/aslutils.c
@@ -956,6 +956,7 @@ UtStrtoul64 (
case 8:
case 10:
case 16:
+
break;
default:
@@ -1090,19 +1091,24 @@ ErrorExit:
switch (Base)
{
case 8:
+
Status = AE_BAD_OCTAL_CONSTANT;
break;
case 10:
+
Status = AE_BAD_DECIMAL_CONSTANT;
break;
case 16:
+
Status = AE_BAD_HEX_CONSTANT;
break;
default:
+
/* Base validated above */
+
break;
}