summaryrefslogtreecommitdiff
path: root/OvmfPkg
diff options
context:
space:
mode:
authorMauro Faccenda <faccenda@gmail.com>2014-02-09 02:01:20 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-02-09 02:01:20 +0000
commit489c314207bb083ed107a5f2249fbb2f2615c0e0 (patch)
tree2a8e87eeb51823bb455ff301f95f051cdaf74f0b /OvmfPkg
parent620b682e144abf8333317976ba73c3b2f25ffeb6 (diff)
downloadedk2-platforms-489c314207bb083ed107a5f2249fbb2f2615c0e0.tar.xz
OvmfPkg: QemuBootOrder: initialize IsFinal variable to make MSVC happy
The BOOLEAN IsFinal variable initialization isn't properly seen by MSVC. To make it compile OVMF the variable needs to be initialized. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Mauro Faccenda <faccenda@gmail.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15214 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c b/OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c
index 055cee3ac4..c8379b8fca 100644
--- a/OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c
+++ b/OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c
@@ -872,6 +872,7 @@ TranslateOfwPath (
BOOLEAN IsFinal;
OFW_NODE Skip;
+ IsFinal = FALSE;
NumNodes = 0;
if (AsciiStrCmp (*Ptr, "HALT") == 0) {
*Ptr += 4;