diff options
Diffstat (limited to 'MdePkg/Library/BaseLib')
-rw-r--r-- | MdePkg/Library/BaseLib/SwitchStack.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/SwitchStack.c b/MdePkg/Library/BaseLib/SwitchStack.c index 6b8d7af4b6..5dc21f5479 100644 --- a/MdePkg/Library/BaseLib/SwitchStack.c +++ b/MdePkg/Library/BaseLib/SwitchStack.c @@ -58,5 +58,8 @@ SwitchStack ( InternalSwitchStack (EntryPoint, Context1, Context2, NewStack, Marker);
- VA_END (Marker);
+ //
+ // InternalSwitchStack () will never return
+ //
+ ASSERT (FALSE);
}
|