summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-05-27 10:47:58 +0800
committerStar Zeng <star.zeng@intel.com>2016-06-01 11:13:15 +0800
commitbef778c1fe67ceddc03a3ac34c8cef9157e01c91 (patch)
treeece7337ae48ee0a6af240d6d4189f5abc9526399 /MdeModulePkg
parent2f7b34b20842fcc485b39c0e1e91313c47b4d090 (diff)
downloadedk2-bef778c1fe67ceddc03a3ac34c8cef9157e01c91.tar.gz
edk2-bef778c1fe67ceddc03a3ac34c8cef9157e01c91.tar.bz2
edk2-bef778c1fe67ceddc03a3ac34c8cef9157e01c91.zip
MdeModulePkg/SetupBrowser: Correct the incorrect variable name
Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Expression.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c
index 9a18dec5c0..1938ff2f99 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c
@@ -1,7 +1,7 @@
/** @file
Utility functions for expression evaluation.
-Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -3136,7 +3136,7 @@ EvaluateExpression (
case EFI_HII_VARSTORE_NAME_VALUE:
if (OpCode->ValueType != EFI_IFR_TYPE_STRING) {
NameValue = AllocateZeroPool ((OpCode->ValueWidth * 2 + 1) * sizeof (CHAR16));
- ASSERT (Value != NULL);
+ ASSERT (NameValue != NULL);
//
// Convert Buffer to Hex String
//