diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-03 10:46:34 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-06 10:12:14 +0800 |
commit | 81038d50c9c9bbe5756d6ba172d692d0c7b58a62 (patch) | |
tree | 1857d03cd8b4ea814a3a26e3191782fe2191944c /ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c | |
parent | c1f032cd3a95ed74dad27d848526495e5790d4af (diff) | |
download | edk2-81038d50c9c9bbe5756d6ba172d692d0c7b58a62.zip edk2-81038d50c9c9bbe5756d6ba172d692d0c7b58a62.tar.gz edk2-81038d50c9c9bbe5756d6ba172d692d0c7b58a62.tar.bz2 |
ShellPkg/acpi: Code cleanup to pass static code checker
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hao Wu <Hao.a.wu@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c')
-rw-r--r-- | ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c index 47ce93f..4199e82 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c @@ -284,6 +284,7 @@ ConvertStrToAcpiSignature ( UINT8 Index;
CHAR8 Ptr[4];
+ ZeroMem (Ptr, sizeof (Ptr));
Index = 0;
// Convert to Upper case and convert to ASCII
|