]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Library/SmbiosLib/SmbiosLib.c
EmulatorPkg: Fix Visual Studio build for IA32 & X64
[mirror_edk2.git] / EmulatorPkg / Library / SmbiosLib / SmbiosLib.c
index 604aa39d0c61917673282c2e97117a344e3431a6..3382d7d2a6632e4b522f44677b9f16905fce645d 100644 (file)
@@ -4,7 +4,7 @@
 
 
 Copyright (c) 2012, Apple Inc. All rights reserved.
-Portitions Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+Portitions Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials are licensed and made available under 
 the terms and conditions of the BSD License that accompanies this distribution.  
 The full text of the license may be found at
@@ -50,10 +50,12 @@ SmbiosLibInitializeFromTemplate (
     return EFI_INVALID_PARAMETER;
   }
 
+  Status = EFI_SUCCESS;
+
   for (Index = 0; Template[Index].Entry != NULL; Index++) {
     Status = SmbiosLibCreateEntry (Template[Index].Entry, Template[Index].StringArray);
   }
-  
+
   return Status;
 }