]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c
ShellPkg/acpi: Code cleanup to pass static code checker
[mirror_edk2.git] / ShellPkg / Library / UefiShellAcpiViewCommandLib / AcpiView.c
index 47ce93f104b024540b3140e3acd92b8a1dccccb1..4199e82ab1e61d6791feef06958e7b903f1c2f6f 100644 (file)
@@ -284,6 +284,7 @@ ConvertStrToAcpiSignature (
   UINT8 Index;\r
   CHAR8 Ptr[4];\r
 \r
+  ZeroMem (Ptr, sizeof (Ptr));\r
   Index = 0;\r
 \r
   // Convert to Upper case and convert to ASCII\r