mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
set initialized value for PrintNum.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5469 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
aaf14379c6
commit
379650305d
@ -687,6 +687,7 @@ Print (
|
||||
VerticalResolution = 0;
|
||||
Blt = NULL;
|
||||
FontInfo = NULL;
|
||||
PrintNum = 0;
|
||||
|
||||
if (GraphicsOutput != NULL) {
|
||||
HorizontalResolution = GraphicsOutput->Mode->Info->HorizontalResolution;
|
||||
@ -834,7 +835,7 @@ Error:
|
||||
SafeFreePool (FontInfo);
|
||||
FreePool (Buffer);
|
||||
|
||||
if (EFI_ERROR(Status)) {
|
||||
if (EFI_ERROR (Status)) {
|
||||
return PrintNum;
|
||||
} else {
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user