aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2016-02-19 02:36:12 +0200
committerFilippos Karapetis2016-02-19 02:36:12 +0200
commit62ae61dd221ee83b13d6fea82e39de69cc08c2fc (patch)
tree8238efb829c1e671aa21328d1e2107859323fe36 /engines/sci
parent3e820ee9b36b1fc2cf6516d400f1433d2238082f (diff)
downloadscummvm-rg350-62ae61dd221ee83b13d6fea82e39de69cc08c2fc.tar.gz
scummvm-rg350-62ae61dd221ee83b13d6fea82e39de69cc08c2fc.tar.bz2
scummvm-rg350-62ae61dd221ee83b13d6fea82e39de69cc08c2fc.zip
SCI: Silence false positive warnings by MSVC
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kgraphics32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics32.cpp b/engines/sci/engine/kgraphics32.cpp
index f6b0074ad3..85518bae99 100644
--- a/engines/sci/engine/kgraphics32.cpp
+++ b/engines/sci/engine/kgraphics32.cpp
@@ -180,8 +180,8 @@ reg_t kCreateTextBitmap(EngineState *s, int argc, reg_t *argv) {
int16 subop = argv[0].toUint16();
- int16 width;
- int16 height;
+ int16 width = 0;
+ int16 height = 0;
reg_t object;
if (subop == 0) {