From 103ae27d3ae0c27baf4bfb4cc2d9a356f26506f1 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 7 Jan 2012 22:44:57 +0200 Subject: GRAPHICS: Silence a false positive warning in MSVC --- graphics/fonts/bdf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/fonts') 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 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; -- cgit v1.2.3