X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Array%2Farray.cxx;h=ad875f5871cafafae0839940d9e39fbd8fd247e4;hb=685895dce464353f170caa424a7b6c98375b8286;hp=200fcdc5742c643405435772b56e2620f745817a;hpb=005eab5ed76c47718dab097e0bc6a948a0012bfd;p=flightgear.git diff --git a/Array/array.cxx b/Array/array.cxx index 200fcdc57..ad875f587 100644 --- a/Array/array.cxx +++ b/Array/array.cxx @@ -110,10 +110,6 @@ FGArray::close() { // parse Array file int FGArray::parse() { - int i; - - // cur_col = 0; - *in >> originx >> originy; *in >> cols >> col_step; *in >> rows >> row_step; @@ -191,6 +187,7 @@ void FGArray::fit( double error ) { outputmesh_set_pt(colmax, rowmin, in_data[colmax][rowmin]); cout << " Beginning best fit procedure" << endl; + lasty = 0; for ( row = rowmin; row < rowmax; row++ ) { // fit = fopen("fit.dat", "w"); @@ -552,6 +549,10 @@ FGArray::~FGArray( void ) { // $Log$ +// Revision 1.3 1999/03/17 23:48:17 curt +// Removed forced -g compile flag. +// Fixed a couple compiler warnings. +// // Revision 1.2 1999/03/13 23:50:26 curt // Tweaked output formatting a bit. //