diff options
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Ui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c index 0e74c5800d..3e4bb0a0d6 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c @@ -2824,7 +2824,8 @@ UiDisplayMenu ( // checking can be done.
//
DistanceValue += AdjustDateAndTimePosition (TRUE, &NewPos);
-
+
+ ASSERT (MenuOption != NULL);
if (Difference < 0) {
//
// We want to goto previous MenuOption, but finally we go down.
|