diff options
author | htao <htao@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-23 06:04:24 +0000 |
---|---|---|
committer | htao <htao@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-23 06:04:24 +0000 |
commit | b67754b99eab8adf1c916c74489589be2a781292 (patch) | |
tree | f4a7cf1864880c0a1df797e00e6c694df4a87b26 /IntelFrameworkModulePkg/Library | |
parent | 0ce1dd70a9d2b70fbedaefb1ba9d664b8a7bb4ef (diff) | |
download | edk2-platforms-b67754b99eab8adf1c916c74489589be2a781292.tar.xz |
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/Library')
-rw-r--r-- | IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c b/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c index f75963e712..e0e873b41b 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
|