From: fredb Date: Sat, 27 Mar 2010 21:57:14 +0000 (+0000) Subject: Initialise member variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c7278b474c358e7bac6956ee79d1e8c36346e95;p=flightgear.git Initialise member variable --- diff --git a/src/Instrumentation/gps.cxx b/src/Instrumentation/gps.cxx index c44cd7110..685754744 100644 --- a/src/Instrumentation/gps.cxx +++ b/src/Instrumentation/gps.cxx @@ -220,7 +220,8 @@ GPS::GPS ( SGPropertyNode *node) : _num(node->getIntValue("number", 0)), _computeTurnData(false), _anticipateTurn(false), - _inTurn(false) + _inTurn(false), + _desiredCourse(0.0) { string branch = "/instrumentation/" + _name; _gpsNode = fgGetNode(branch.c_str(), _num, true );