diff options
author | Liming Gao <liming.gao@intel.com> | 2017-11-28 11:19:58 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2017-12-05 23:09:20 +0800 |
commit | be18cb03053bd2f40e5b56d16b25251c01505409 (patch) | |
tree | c51ea43236eeb94bcd77de86003cac25327287c5 /MdeModulePkg | |
parent | 032de38a073aa5327c178c1bf02d1a30116b7fa7 (diff) | |
download | edk2-be18cb03053bd2f40e5b56d16b25251c01505409.zip edk2-be18cb03053bd2f40e5b56d16b25251c01505409.tar.gz edk2-be18cb03053bd2f40e5b56d16b25251c01505409.tar.bz2 |
MdeModulePkg: Update PeiCore to pass XCODE tool chain
It fixes the warning for loop has empty body [-Werror,-Wempty-body].
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liang Vincent <vincent.liang@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index 467066a..79f2e5c 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -676,7 +676,8 @@ PeiCheckAndSwitchStack ( for (StackPointer = (UINT32*)SecCoreData->StackBase;
(StackPointer < (UINT32*)((UINTN)SecCoreData->StackBase + SecCoreData->StackSize)) \
&& (*StackPointer == PcdGet32 (PcdInitValueInTempStack));
- StackPointer ++);
+ StackPointer ++) {
+ }
DEBUG ((DEBUG_INFO, "Temp Stack : BaseAddress=0x%p Length=0x%X\n", SecCoreData->StackBase, (UINT32)SecCoreData->StackSize));
DEBUG ((DEBUG_INFO, "Temp Heap : BaseAddress=0x%p Length=0x%X\n", SecCoreData->PeiTemporaryRamBase, (UINT32)SecCoreData->PeiTemporaryRamSize));
|