]> git.proxmox.com Git - mirror_edk2.git/commitdiff
initialize local variable before use.
authorhtao <htao@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 23 Apr 2008 06:04:24 +0000 (06:04 +0000)
committerhtao <htao@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 23 Apr 2008 06:04:24 +0000 (06:04 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5114 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c

index f75963e712351b17db623c3ada1ca99f747ba80f..e0e873b41b700ddaaeae657b7378191c0dc881f6 100644 (file)
@@ -646,6 +646,8 @@ _IPrint (
   UINTN                          BufferGlyphWidth;\r
 \r
   GlyphStatus = 0;\r
+  HorizontalResolution = 0;\r
+  VerticalResolution = 0;\r
 \r
   //\r
   // For now, allocate an arbitrarily long buffer\r