]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/NvVarsFileLib/FsAccess.c
Fix VS2013 build failure.
[mirror_edk2.git] / OvmfPkg / Library / NvVarsFileLib / FsAccess.c
index 937e4abe196ddc9ccecd20628bd398c8c1e82b01..66b5566c7518f5b09b6d464d6bfec403253e2845 100644 (file)
@@ -1,7 +1,7 @@
 /** @file
   File System Access for NvVarsFileLib
 
-  Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2004 - 2014, 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
   which accompanies this distribution.  The full text of the license may be found at
@@ -432,6 +432,8 @@ SaveNvVarsToFs (
   VOID                        *VariableData;
   EFI_HANDLE                  SerializedVariables;
 
+  SerializedVariables = NULL;
+
   Status = SerializeVariablesNewInstance (&SerializedVariables);
   if (EFI_ERROR (Status)) {
     return Status;