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:
parent
2f7f5da4ad
commit
1df5347a06
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue