[Scummvm-cvs-logs] SF.net SVN: scummvm:[54551] scummvm/trunk/engines/sword25/math/walkregion. cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Nov 28 22:33:27 CET 2010
Revision: 54551
http://scummvm.svn.sourceforge.net/scummvm/?rev=54551&view=rev
Author: fingolfin
Date: 2010-11-28 21:33:27 +0000 (Sun, 28 Nov 2010)
Log Message:
-----------
SWORD25: Fix warning about uninitialized DijkstraNode::parentIter
Modified Paths:
--------------
scummvm/trunk/engines/sword25/math/walkregion.cpp
Modified: scummvm/trunk/engines/sword25/math/walkregion.cpp
===================================================================
--- scummvm/trunk/engines/sword25/math/walkregion.cpp 2010-11-28 21:33:02 UTC (rev 54550)
+++ scummvm/trunk/engines/sword25/math/walkregion.cpp 2010-11-28 21:33:27 UTC (rev 54551)
@@ -95,7 +95,7 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list