aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-27 20:22:09 +0000
committerFilippos Karapetis2010-06-27 20:22:09 +0000
commite6a9a9da823b6c8fef25f2949d21525d8a229b9c (patch)
tree6f12eaf80e534cc28f7722b86ad040397bce0e9a /engines/sci/graphics
parent1537d6129964732b03aae5186e9bc3e01c164817 (diff)
downloadscummvm-rg350-e6a9a9da823b6c8fef25f2949d21525d8a229b9c.tar.gz
scummvm-rg350-e6a9a9da823b6c8fef25f2949d21525d8a229b9c.tar.bz2
scummvm-rg350-e6a9a9da823b6c8fef25f2949d21525d8a229b9c.zip
Silenced a false positive in MSVC about a potentially uninitialized variable
svn-id: r50392
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/ports.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index 6e53ef44c4..36f84c3582 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -55,7 +55,7 @@ GfxPorts::~GfxPorts() {
}
void GfxPorts::init(bool usesOldGfxFunctions, GfxPaint16 *paint16, GfxText16 *text16) {
- int16 offTop;
+ int16 offTop = 10;
_usesOldGfxFunctions = usesOldGfxFunctions;
_paint16 = paint16;