]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c
OvmfPkg/X86QemuLoadImageLib: add dummy assignment to work around GCC
[mirror_edk2.git] / OvmfPkg / Library / X86QemuLoadImageLib / X86QemuLoadImageLib.c
index e52ec668f3751624522ac59a984fc119f0b558d1..ef753be7ea90324bcd42ae5a572fc0ba6240be9d 100644 (file)
@@ -291,6 +291,11 @@ QemuLoadKernelImage (
   CHAR8                     *CommandLine;\r
   UINTN                     InitrdSize;\r
 \r
+  //\r
+  // Redundant assignment to work around GCC48/GCC49 limitations.\r
+  //\r
+  CommandLine = NULL;\r
+\r
   //\r
   // Load the image. This should call back into the QEMU EFI loader file system.\r
   //\r