diff options
author | Max Horn | 2010-11-28 21:33:27 +0000 |
---|---|---|
committer | Max Horn | 2010-11-28 21:33:27 +0000 |
commit | b3ba5f6ec5be54d0f40c3b2933e26053ef625a28 (patch) | |
tree | eabaa1a72d3da24b6638dae62946acbcf2f75c24 | |
parent | 5d2b77899f83160ec969aeab6b266a6c63d27f11 (diff) | |
download | scummvm-rg350-b3ba5f6ec5be54d0f40c3b2933e26053ef625a28.tar.gz scummvm-rg350-b3ba5f6ec5be54d0f40c3b2933e26053ef625a28.tar.bz2 scummvm-rg350-b3ba5f6ec5be54d0f40c3b2933e26053ef625a28.zip |
SWORD25: Fix warning about uninitialized DijkstraNode::parentIter
svn-id: r54551
-rw-r--r-- | engines/sword25/math/walkregion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/math/walkregion.cpp b/engines/sword25/math/walkregion.cpp index 51818bc9e8..da24883466 100644 --- a/engines/sword25/math/walkregion.cpp +++ b/engines/sword25/math/walkregion.cpp @@ -95,7 +95,7 @@ struct DijkstraNode { typedef Container::iterator Iter; typedef Container::const_iterator ConstIter; - DijkstraNode() : cost(Infinity), chosen(false) {} + DijkstraNode() : parentIter(), cost(Infinity), chosen(false) {} ConstIter parentIter; int cost; bool chosen; |