Skip to content

Commit

Permalink
Fix Unitialized variable
Browse files Browse the repository at this point in the history
Tracked-On: OAM-122057
Signed-off-by: Ni, Erchang <[email protected]>
  • Loading branch information
Francesca0901 committed Jul 8, 2024
1 parent 8aa0309 commit 5ab200f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnu-efi-3.0/lib/print.c
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ DumpHex (

UINTN ScreenCount = 0; // Avoid variable being unitialized
UINTN TempColumn;
UINTN ScreenSize;
UINTN ScreenSize = 0;
CHAR16 ReturnStr[1];


Expand Down

0 comments on commit 5ab200f

Please sign in to comment.