Skip to content

Commit

Permalink
Changed what the assert is checking
Browse files Browse the repository at this point in the history
  • Loading branch information
kenlautner committed Jul 13, 2023
1 parent 92e488d commit 97ceef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UefiCpuPkg/CpuMpPei/CpuMpPei.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ InitializeMpExceptionStackSwitchHandlers (
// MU_CHANGE [BEGIN] - CodeQL change
Status = MpInitLibGetNumberOfProcessors (&NumberOfProcessors, NULL);
if (EFI_ERROR (Status)) {
ASSERT (NumberOfProcessors != NULL);
ASSERT_EFI_ERROR (Status);
DEBUG ((DEBUG_ERROR, "%a - Failed to get number of processors. Status = %r\n", __FUNCTION__, Status));
return;
}
Expand Down

0 comments on commit 97ceef5

Please sign in to comment.