]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Application/VariableInfo/VariableInfo.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Application / VariableInfo / VariableInfo.c
index df91c1451c194304d83f810dd7c6c6f3a7ed8b4d..f213471e9abcdc9287d75a78ce868c638ef24704 100644 (file)
@@ -4,13 +4,7 @@
   redirection to capture the data.\r
 \r
   Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -104,6 +98,7 @@ PrintInfoFromSmm (
   }\r
 \r
   CommBuffer = NULL;\r
+  RealCommSize = 0;\r
   Status = EfiGetSystemConfigurationTable (\r
              &gEdkiiPiSmmCommunicationRegionTableGuid,\r
              (VOID **) &PiSmmCommunicationRegionTable\r