aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorFilippos Karapetis2018-12-23 20:41:33 +0200
committerFilippos Karapetis2018-12-23 20:41:33 +0200
commit92aa71395849afc4b31cec8af71b82d1330c1ab5 (patch)
treeb43d0a575e07e329f0f92f684ce87dd33347b7f7 /engines/fullpipe
parent9fe1491a640b87e906b7039dbcbe3902857aed94 (diff)
downloadscummvm-rg350-92aa71395849afc4b31cec8af71b82d1330c1ab5.tar.gz
scummvm-rg350-92aa71395849afc4b31cec8af71b82d1330c1ab5.tar.bz2
scummvm-rg350-92aa71395849afc4b31cec8af71b82d1330c1ab5.zip
FULLPIPE: Silence a false positive warning in MSVC
MSVC complained about a potentially uninitialized variable here
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/statesaver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/statesaver.cpp b/engines/fullpipe/statesaver.cpp
index 942c07ae53..7cd10e5e99 100644
--- a/engines/fullpipe/statesaver.cpp
+++ b/engines/fullpipe/statesaver.cpp
@@ -63,7 +63,7 @@ bool GameLoader::writeSavegame(Scene *sc, const char *fname, const Common::Strin
GameVar *nxt = 0;
GameVar *prv = 0;
- GameVar *par;
+ GameVar *par = 0;
if (v) {
nxt = v->_nextVarObj;
prv = v->_prevVarObj;