The pointer argument should be set to NULL if not used not FALSE.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-By: Ye, Ting (ting.ye@intel.com)

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15742 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Fu, Siyuan 2014-08-04 01:28:26 +00:00 committed by sfu5
parent 35d74819a0
commit 4e07e87fe4
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
Functions implementation related with Mtftp for UefiPxeBc Driver. Functions implementation related with Mtftp for UefiPxeBc Driver.
Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR> Copyright (c) 2007 - 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
@ -162,7 +162,7 @@ PxeBcMtftp6GetFileSize (
Status = Mtftp6->GetInfo ( Status = Mtftp6->GetInfo (
Mtftp6, Mtftp6,
FALSE, NULL,
Filename, Filename,
NULL, NULL,
(UINT8) OptCnt, (UINT8) OptCnt,
@ -604,7 +604,7 @@ PxeBcMtftp4GetFileSize (
Status = Mtftp4->GetInfo ( Status = Mtftp4->GetInfo (
Mtftp4, Mtftp4,
FALSE, NULL,
Filename, Filename,
NULL, NULL,
(UINT8) OptCnt, (UINT8) OptCnt,