1
0
Fork 0

Fix "use of uninitialized data" reported by valgrind.

(issue triggered when FGGlobals::saveInitialState copies the entire
property tree on start-up).
This commit is contained in:
ThorstenB 2012-03-26 21:08:11 +02:00
parent 2f7f5da4ad
commit 1df5347a06

View file

@ -232,6 +232,11 @@ GPS::GPS ( SGPropertyNode *node) :
_mode("init"),
_name(node->getStringValue("name", "gps")),
_num(node->getIntValue("number", 0)),
_searchResultIndex(0),
_searchExact(true),
_searchIsRoute(false),
_searchHasNext(false),
_searchNames(false),
_computeTurnData(false),
_anticipateTurn(false),
_inTurn(false)