summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorhtao <htao@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-23 06:04:24 +0000
committerhtao <htao@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-23 06:04:24 +0000
commitb67754b99eab8adf1c916c74489589be2a781292 (patch)
treef4a7cf1864880c0a1df797e00e6c694df4a87b26 /IntelFrameworkModulePkg
parent0ce1dd70a9d2b70fbedaefb1ba9d664b8a7bb4ef (diff)
initialize local variable before use.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5114 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c b/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c
index f75963e71..e0e873b41 100644
--- a/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c
+++ b/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c
@@ -646,6 +646,8 @@ _IPrint (
UINTN BufferGlyphWidth;
GlyphStatus = 0;
+ HorizontalResolution = 0;
+ VerticalResolution = 0;
//
// For now, allocate an arbitrarily long buffer