diff options
author | Star Zeng <star.zeng@intel.com> | 2016-06-02 14:38:03 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-06-03 15:01:05 +0800 |
commit | 5b03f1b5145dd7e4b3ac7bcdd05f03597b461989 (patch) | |
tree | 91f05c236bbef4af4eb480d85c856556911c876d /EmulatorPkg/build.sh | |
parent | da2369d21d2e57a0de8fa7ae954812122c87326e (diff) | |
download | edk2-5b03f1b5145dd7e4b3ac7bcdd05f03597b461989.tar.gz edk2-5b03f1b5145dd7e4b3ac7bcdd05f03597b461989.tar.bz2 edk2-5b03f1b5145dd7e4b3ac7bcdd05f03597b461989.zip |
SecurityPkg EsalVariableDxeSal: Use input Global to make code more clear
SecurityPkg\VariableAuthenticated\EsalVariableDxeSal\Variable.c
AutoUpdateLangVariable()
Global->PlatformLangCodes[VirtualMode] = AllocateRuntimeCopyPool
(DataSize, Data);
ASSERT (mVariableModuleGlobal->PlatformLangCodes[VirtualMode] != NULL);
The patch is to use Global instead of mVariableModuleGlobal in the
ASSERT (XXX) to make code more clear although mVariableModuleGlobal is
equal to Global actually.
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Amy Chan <amy.chan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Amy Chan <amy.chan@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Diffstat (limited to 'EmulatorPkg/build.sh')
0 files changed, 0 insertions, 0 deletions