]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.c
ArmVirtPkg/PlatformPeiLib: add dummy assignment to work around older GCC
[mirror_edk2.git] / ArmVirtPkg / Library / PlatformPeiLib / PlatformPeiLib.c
index 8b5b3dd5dc1cd93b9ba0cfa456a941de98e7ddef..6c4028e179955d896f7624b93b1ea7f27266b19e 100644 (file)
@@ -77,6 +77,11 @@ PlatformPeim (
 \r
   TpmBase = 0;\r
 \r
+  //\r
+  // Set Parent to suppress incorrect compiler/analyzer warnings.\r
+  //\r
+  Parent = 0;\r
+\r
   for (Prev = Depth = 0;; Prev = Node) {\r
     Node = fdt_next_node (Base, Prev, &Depth);\r
     if (Node < 0) {\r