diff options
author | Eric Dong <eric.dong@intel.com> | 2014-07-28 07:43:23 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-28 07:43:23 +0000 |
commit | 94866d4035b84523a61488f000dcaad13bfd4aa5 (patch) | |
tree | 47e9179710c78e4032227ba822c37fc7f2d2a373 /NetworkPkg | |
parent | 613382e922cdae321168791df0b00f84176ba9db (diff) | |
download | edk2-94866d4035b84523a61488f000dcaad13bfd4aa5.zip edk2-94866d4035b84523a61488f000dcaad13bfd4aa5.tar.gz edk2-94866d4035b84523a61488f000dcaad13bfd4aa5.tar.bz2 |
Update code to support VS2013 tool chain.
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
Diffstat (limited to 'NetworkPkg')
-rw-r--r-- | NetworkPkg/IScsiDxe/IScsiProto.c | 2 | ||||
-rw-r--r-- | NetworkPkg/Ip6Dxe/Ip6Output.c | 4 | ||||
-rw-r--r-- | NetworkPkg/IpSecDxe/IpSecCryptIo.c | 4 | ||||
-rw-r--r-- | NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c | 3 | ||||
-rw-r--r-- | NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c | 3 |
5 files changed, 12 insertions, 4 deletions
diff --git a/NetworkPkg/IScsiDxe/IScsiProto.c b/NetworkPkg/IScsiDxe/IScsiProto.c index fb5d396..4c4e3c2 100644 --- a/NetworkPkg/IScsiDxe/IScsiProto.c +++ b/NetworkPkg/IScsiDxe/IScsiProto.c @@ -604,6 +604,8 @@ IScsiReceiveLoginRsp ( EFI_STATUS Status;
NET_BUF *Pdu;
+ Pdu = NULL;
+
//
// Receive the iSCSI login response.
//
diff --git a/NetworkPkg/Ip6Dxe/Ip6Output.c b/NetworkPkg/Ip6Dxe/Ip6Output.c index 0e18c10..931dfba 100644 --- a/NetworkPkg/Ip6Dxe/Ip6Output.c +++ b/NetworkPkg/Ip6Dxe/Ip6Output.c @@ -1,7 +1,7 @@ /** @file
The internal functions and routines to transmit the IP6 packet.
- Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 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
@@ -388,6 +388,8 @@ Ip6PrependHead ( EFI_STATUS Status;
UINT8 NextHeader;
+ UpdatedExtHdrs = NULL;
+
//
// HeadLen is the length of the fixed part of the sequences of fragments, i.e.
// the unfragment part.
diff --git a/NetworkPkg/IpSecDxe/IpSecCryptIo.c b/NetworkPkg/IpSecDxe/IpSecCryptIo.c index 5460769..8396c59 100644 --- a/NetworkPkg/IpSecDxe/IpSecCryptIo.c +++ b/NetworkPkg/IpSecDxe/IpSecCryptIo.c @@ -1,7 +1,7 @@ /** @file
Common interfaces to call Security library.
- Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 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
@@ -826,6 +826,8 @@ IpSecCryptoIoAuthDataWithCertificate ( UINTN SigSize;
SigSize = 0;
+ RsaContext = NULL;
+
//
// Retrieve RSA Private Key from password-protected PEM data
//
diff --git a/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c b/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c index 121b2a3..2aadef0 100644 --- a/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c +++ b/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c @@ -1,7 +1,7 @@ /** @file
Mtftp6 Rrq process functions implementation.
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 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
@@ -457,6 +457,7 @@ Mtftp6RrqHandleOack ( EFI_UDP6_PROTOCOL *Udp6;
*IsCompleted = FALSE;
+ Options = NULL;
//
// If already started the master download, don't change the
diff --git a/NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c b/NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c index a6baaab..254b757 100644 --- a/NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c +++ b/NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c @@ -1,7 +1,7 @@ /** @file
Mtftp6 Wrq process functions implementation.
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 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
@@ -295,6 +295,7 @@ Mtftp6WrqHandleOack ( INTN Expected;
*IsCompleted = FALSE;
+ Options = NULL;
//
// Ignore the OACK if already started the upload
|