[Scummvm-cvs-logs] scummvm master -> 103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1
bluegr
md5 at scummvm.org
Sat Jan 7 21:47:25 CET 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
103ae27d3a GRAPHICS: Silence a false positive warning in MSVC
Commit: 103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1
https://github.com/scummvm/scummvm/commit/103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2012-01-07T12:45:59-08:00
Commit Message:
GRAPHICS: Silence a false positive warning in MSVC
Changed paths:
graphics/fonts/bdf.cpp
diff --git a/graphics/fonts/bdf.cpp b/graphics/fonts/bdf.cpp
index 6fa886a..6d4befa 100644
--- a/graphics/fonts/bdf.cpp
+++ b/graphics/fonts/bdf.cpp
@@ -67,7 +67,7 @@ int BdfFont::getCharWidth(byte chr) const {
template<typename PixelType>
void drawCharIntern(byte *ptr, uint pitch, const byte *src, int h, int width, int minX, int maxX, const PixelType color) {
- byte data;
+ byte data = 0;
while (h--) {
PixelType *dst = (PixelType *)ptr;
More information about the Scummvm-git-logs
mailing list