]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update code to support VS2013 tool chain.
authorEric Dong <eric.dong@intel.com>
Mon, 28 Jul 2014 07:43:23 +0000 (07:43 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 28 Jul 2014 07:43:23 +0000 (07:43 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15693 6f19259b-4bc3-4df7-8a09-765794883524

NetworkPkg/IScsiDxe/IScsiProto.c
NetworkPkg/Ip6Dxe/Ip6Output.c
NetworkPkg/IpSecDxe/IpSecCryptIo.c
NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c
NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c

index fb5d396aaaa28423a285a49c77ee78c1c444ae76..4c4e3c28e7b17e8eead28ea2f18c6c25e552630c 100644 (file)
@@ -604,6 +604,8 @@ IScsiReceiveLoginRsp (
   EFI_STATUS  Status;\r
   NET_BUF     *Pdu;\r
 \r
+  Pdu = NULL;\r
+\r
   //\r
   // Receive the iSCSI login response.\r
   //\r
index 0e18c10c8303bd4d927442d5678734c83f179e38..931dfbafc2049152a38be2d459e71978a8da671a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The internal functions and routines to transmit the IP6 packet.\r
 \r
-  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -388,6 +388,8 @@ Ip6PrependHead (
   EFI_STATUS                Status;\r
   UINT8                     NextHeader;\r
 \r
+  UpdatedExtHdrs = NULL;\r
+\r
   //\r
   // HeadLen is the length of the fixed part of the sequences of fragments, i.e.\r
   // the unfragment part.\r
index 54607692aaecf99754c624b77bc93d3db9f89251..8396c5900391651e435f42e4b9188ac228311a1e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Common interfaces to call Security library.\r
 \r
-  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -826,6 +826,8 @@ IpSecCryptoIoAuthDataWithCertificate (
   UINTN         SigSize;\r
    \r
   SigSize   = 0;\r
+  RsaContext = NULL;\r
+\r
   //\r
   // Retrieve RSA Private Key from password-protected PEM data\r
   //\r
index 121b2a37266a9d138f36942785d63309e179c4d5..2aadef076cf0d55fe81a8ea71b7171d794e67be3 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Mtftp6 Rrq process functions implementation.\r
 \r
-  Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -457,6 +457,7 @@ Mtftp6RrqHandleOack (
   EFI_UDP6_PROTOCOL         *Udp6;\r
 \r
   *IsCompleted = FALSE;\r
+  Options = NULL;\r
 \r
   //\r
   // If already started the master download, don't change the\r
index a6baaaba40a2d7ef9695080a82f5522ac7bcb805..254b757f7e759e0caa7f5f41c4893d871e948db8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Mtftp6 Wrq process functions implementation.\r
 \r
-  Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -295,6 +295,7 @@ Mtftp6WrqHandleOack (
   INTN                      Expected;\r
 \r
   *IsCompleted = FALSE;\r
+  Options = NULL;\r
 \r
   //\r
   // Ignore the OACK if already started the upload\r