summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/PlatformVarCleanupLib
diff options
context:
space:
mode:
authorSong, BinX <binx.song@intel.com>2017-11-10 12:11:02 +0800
committerLiming Gao <liming.gao@intel.com>2017-11-14 18:18:43 +0800
commitf826516d43367fce413332fd9cae6cea576fbfd0 (patch)
treecbcd2732ba159e48c8be0c9583c7146f11a27517 /MdeModulePkg/Library/PlatformVarCleanupLib
parent2344d341e102b8a669914064201e48bcfba0b8f6 (diff)
downloadedk2-f826516d43367fce413332fd9cae6cea576fbfd0.tar.gz
edk2-f826516d43367fce413332fd9cae6cea576fbfd0.tar.bz2
edk2-f826516d43367fce413332fd9cae6cea576fbfd0.zip
MdeModulePkg: 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 <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PlatformVarCleanupLib')
-rw-r--r--MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c b/MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c
index c5fd30e219..450b4b3443 100644
--- a/MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c
+++ b/MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c
@@ -1187,6 +1187,7 @@ Done:
VAR_ERROR_FLAG
EFIAPI
GetLastBootVarErrorFlag (
+ VOID
)
{
return mLastVarErrorFlag;