diff options
author | Eugene Sandulenko | 2013-11-03 01:15:49 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-11-03 01:28:03 +0200 |
commit | 69ac3bb944196aeffe0c62d0862cd00505f1e98c (patch) | |
tree | c59ef77950c2a2f4c31f44adcc5bcc8433cce477 /engines/fullpipe/motion.cpp | |
parent | aa2a6d74457f47f6dee0894d58c00d58e4e3bb07 (diff) | |
download | scummvm-rg350-69ac3bb944196aeffe0c62d0862cd00505f1e98c.tar.gz scummvm-rg350-69ac3bb944196aeffe0c62d0862cd00505f1e98c.tar.bz2 scummvm-rg350-69ac3bb944196aeffe0c62d0862cd00505f1e98c.zip |
FULLPIPE: Initialize variable. CID 1109665
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r-- | engines/fullpipe/motion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index d117890d54..d058403838 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -1068,7 +1068,7 @@ MovGraphLink *MovGraph2::findLink1(int x, int y, int idx, int fuzzyMatch) { MovGraphLink *MovGraph2::findLink2(int x, int y) { double mindist = 1.0e20; - MovGraphLink *res; + MovGraphLink *res = 0; for (ObList::iterator i = _links.begin(); i != _links.end(); ++i) { assert(((CObject *)*i)->_objtype == kObjTypeMovGraphLink); |