CVS: source/src/Instrumentation gps.cxx, 1.57, 1.58

Torsten Dreyer <[email protected]> Wed, 14 Apr 2010 12:26:52 -0500
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/source/src/Instrumentation
In directory baron.flightgear.org:/tmp/cvs-serv774

Modified Files:
	gps.cxx 
Log Message:
gps warning fix (xxx will be initialized after yyy)  

Index: gps.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Instrumentation/gps.cxx,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- gps.cxx	27 Mar 2010 21:57:14 -0000	1.57
+++ gps.cxx	14 Apr 2010 17:26:45 -0000	1.58
@@ -213,6 +213,7 @@
 
 GPS::GPS ( SGPropertyNode *node) : 
   _selectedCourse(0.0),
+  _desiredCourse(0.0),
   _dataValid(false),
   _lastPosValid(false),
   _mode("init"),
@@ -220,8 +221,7 @@
   _num(node->getIntValue("number", 0)),
   _computeTurnData(false),
   _anticipateTurn(false),
-  _inTurn(false),
-  _desiredCourse(0.0)
+  _inTurn(false)
 {
   string branch = "/instrumentation/" + _name;
   _gpsNode = fgGetNode(branch.c_str(), _num, true );


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev