diff options
author | Filippos Karapetis | 2012-01-07 22:44:57 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-01-07 22:45:59 +0200 |
commit | 103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1 (patch) | |
tree | f60a1dd72f14f991476d98360e63c2a9cc92beb3 | |
parent | f71fb6a8286311b65b1518302a258dd55729d8f8 (diff) | |
download | scummvm-rg350-103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1.tar.gz scummvm-rg350-103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1.tar.bz2 scummvm-rg350-103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1.zip |
GRAPHICS: Silence a false positive warning in MSVC
-rw-r--r-- | graphics/fonts/bdf.cpp | 2 |
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; |