aboutsummaryrefslogtreecommitdiff
path: root/graphics/fonts/bdf.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2012-01-07 22:44:57 +0200
committerFilippos Karapetis2012-01-07 22:45:59 +0200
commit103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1 (patch)
treef60a1dd72f14f991476d98360e63c2a9cc92beb3 /graphics/fonts/bdf.cpp
parentf71fb6a8286311b65b1518302a258dd55729d8f8 (diff)
downloadscummvm-rg350-103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1.tar.gz
scummvm-rg350-103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1.tar.bz2
scummvm-rg350-103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1.zip
GRAPHICS: Silence a false positive warning in MSVC
Diffstat (limited to 'graphics/fonts/bdf.cpp')
-rw-r--r--graphics/fonts/bdf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/fonts/bdf.cpp b/graphics/fonts/bdf.cpp
index 6fa886a905..6d4befa37c 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;