From: Song, BinX Date: Fri, 10 Nov 2017 04:11:23 +0000 (+0800) Subject: NetworkPkg: Fix MSFT C4255 warning X-Git-Tag: edk2-stable201903~3103 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=63393404f73a36a5d93034e224acf813fde964a1 NetworkPkg: Fix MSFT C4255 warning V2: Fix MSFT C4255 warning V1: Enable MSFT C4255 warning. From MSDN: Compiler Warning (level 4) C4255 function' : no function prototype given: converting '()' to '(void)' The compiler did not find an explicit list of arguments to a function. This warning is for the C compiler only. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bell Song Reviewed-by: Liming Gao --- diff --git a/NetworkPkg/IScsiDxe/IScsiDriver.c b/NetworkPkg/IScsiDxe/IScsiDriver.c index fbeef970ba..a0ece3ae1f 100644 --- a/NetworkPkg/IScsiDxe/IScsiDriver.c +++ b/NetworkPkg/IScsiDxe/IScsiDriver.c @@ -87,6 +87,7 @@ IScsiIsDevicePathSupported ( **/ EFI_STATUS IScsiCheckAip ( + VOID ) { UINTN AipHandleCount;