From 489c314207bb083ed107a5f2249fbb2f2615c0e0 Mon Sep 17 00:00:00 2001 From: Mauro Faccenda Date: Sun, 9 Feb 2014 02:01:20 +0000 Subject: 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 Reviewed-by: Laszlo Ersek Reviewed-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15214 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c | 1 + 1 file changed, 1 insertion(+) (limited to 'OvmfPkg') 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; -- cgit v1.2.3