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
This commit is contained in:
Eric Dong 2014-07-28 07:43:23 +00:00 committed by ydong10
parent 613382e922
commit 94866d4035
5 changed files with 12 additions and 4 deletions

View File

@ -604,6 +604,8 @@ IScsiReceiveLoginRsp (
EFI_STATUS Status; EFI_STATUS Status;
NET_BUF *Pdu; NET_BUF *Pdu;
Pdu = NULL;
// //
// Receive the iSCSI login response. // Receive the iSCSI login response.
// //

View File

@ -1,7 +1,7 @@
/** @file /** @file
The internal functions and routines to transmit the IP6 packet. 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 This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
@ -388,6 +388,8 @@ Ip6PrependHead (
EFI_STATUS Status; EFI_STATUS Status;
UINT8 NextHeader; UINT8 NextHeader;
UpdatedExtHdrs = NULL;
// //
// HeadLen is the length of the fixed part of the sequences of fragments, i.e. // HeadLen is the length of the fixed part of the sequences of fragments, i.e.
// the unfragment part. // the unfragment part.

View File

@ -1,7 +1,7 @@
/** @file /** @file
Common interfaces to call Security library. 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 This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
@ -826,6 +826,8 @@ IpSecCryptoIoAuthDataWithCertificate (
UINTN SigSize; UINTN SigSize;
SigSize = 0; SigSize = 0;
RsaContext = NULL;
// //
// Retrieve RSA Private Key from password-protected PEM data // Retrieve RSA Private Key from password-protected PEM data
// //

View File

@ -1,7 +1,7 @@
/** @file /** @file
Mtftp6 Rrq process functions implementation. 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 This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
@ -457,6 +457,7 @@ Mtftp6RrqHandleOack (
EFI_UDP6_PROTOCOL *Udp6; EFI_UDP6_PROTOCOL *Udp6;
*IsCompleted = FALSE; *IsCompleted = FALSE;
Options = NULL;
// //
// If already started the master download, don't change the // If already started the master download, don't change the

View File

@ -1,7 +1,7 @@
/** @file /** @file
Mtftp6 Wrq process functions implementation. 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 This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
@ -295,6 +295,7 @@ Mtftp6WrqHandleOack (
INTN Expected; INTN Expected;
*IsCompleted = FALSE; *IsCompleted = FALSE;
Options = NULL;
// //
// Ignore the OACK if already started the upload // Ignore the OACK if already started the upload