]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/UIUCModel/uiuc_recorder.cpp
Fix for bug 1304 - crash loading XML route
[flightgear.git] / src / FDM / UIUCModel / uiuc_recorder.cpp
index 743b78be9eb5c317841be27f2d602951c74b924d..3264ad184af86601dc755d01f133f39276b2ab3b 100644 (file)
@@ -84,8 +84,7 @@
 
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
- USA or view http://www.gnu.org/copyleft/gpl.html.
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 **********************************************************************/
 
 
 #include <simgear/compiler.h>
 #include <simgear/misc/sg_path.hxx>
-#include <Aircraft/aircraft.hxx>
 #include <Main/fg_props.hxx>
 
 #include "uiuc_recorder.h"
 
-SG_USING_STD(endl);            // -dw
+using std::endl;               // -dw
 
 void uiuc_recorder( double dt )
 {
   stack command_list;
   string linetoken;
-  static int init = 0;
+  // static int init = 0;
   static int recordStep = 0;
   string record_variables = "# ";
 
-  int modulus = recordStep % recordRate;
+  // int modulus = recordStep % recordRate;
 
   //static double lat1;
   //static double long1;