summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorHarry Liebel <Harry.Liebel@arm.com>2014-08-04 01:26:57 +0000
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-04 01:26:57 +0000
commit35d74819a0d07eca1705bced5aafa238961a2ae2 (patch)
tree25d4b4ca73920e907ed30cbbb7901e31e044e8c7 /MdeModulePkg/Universal
parenta9e61a2511e93c0e7392f3a4837651876ab00e44 (diff)
downloadedk2-platforms-35d74819a0d07eca1705bced5aafa238961a2ae2.tar.xz
The pointer argument should be set to NULL if not used not FALSE.
FALSE evaluates to 0. This was flagged by LLVM compiler as a warning: "expression which evaluates to zero treated as a null pointer constant of type 'EFI_MTFTP4_OVERRIDE_DATA *' [-Wnon-literal-null-conversion]" Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> Reviewed-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@15741 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c
index 9f13b06898..54de16ca5f 100644
--- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c
+++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c
@@ -1,7 +1,7 @@
/** @file
PxeBc MTFTP functions.
-Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 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
which accompanies this distribution. The full text of the license may be found at
@@ -146,7 +146,7 @@ PxeBcTftpGetFileSize (
Status = Mtftp4->GetInfo (
Mtftp4,
- FALSE,
+ NULL,
Filename,
NULL,
(UINT8) OptCnt,