diff options
author | Filippos Karapetis | 2013-10-05 21:32:16 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-10-05 21:32:16 +0300 |
commit | 1e87d135bedf9844e3e44a4261ffcb44aac67feb (patch) | |
tree | 5461bce373b745baecea70f470165e750950910c /engines/fullpipe/motion.cpp | |
parent | 55a8e7a2de166dc9db785049e53019a0a7c20df0 (diff) | |
download | scummvm-rg350-1e87d135bedf9844e3e44a4261ffcb44aac67feb.tar.gz scummvm-rg350-1e87d135bedf9844e3e44a4261ffcb44aac67feb.tar.bz2 scummvm-rg350-1e87d135bedf9844e3e44a4261ffcb44aac67feb.zip |
FULLPIPE: Silence false positives about uninitialized variables in MSVC
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r-- | engines/fullpipe/motion.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index 78fdbe2c6d..ecf128e9cd 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -401,7 +401,7 @@ bool MovGraph2::initDirections(StaticANIObject *obj, MovGraph2Item *item) { return false; for (int act = 0; act < 3; act++) { - int idx; + int idx = 0; switch(act) { case 0: @@ -428,7 +428,7 @@ bool MovGraph2::initDirections(StaticANIObject *obj, MovGraph2Item *item) { } for (int act = 0; act < 4; act++) { - int idx; + int idx = 0; switch(act) { case 0: @@ -458,7 +458,7 @@ bool MovGraph2::initDirections(StaticANIObject *obj, MovGraph2Item *item) { } for (int act = 0; act < 4; act++) { - int idx; + int idx = 0; switch(act) { case 0: |