mirror of https://github.com/ArduPilot/ardupilot
Replay: remove unused variables
Also avoids segmentation fault on exit
This commit is contained in:
parent
64d4e094fb
commit
f5c89117f6
|
@ -796,7 +796,6 @@ void Replay::loop()
|
|||
|
||||
if (!logreader.update(type)) {
|
||||
::printf("End of log at %.1f seconds\n", AP_HAL::millis()*0.001f);
|
||||
fclose(plotf);
|
||||
flush_and_exit();
|
||||
}
|
||||
|
||||
|
|
|
@ -120,8 +120,6 @@ private:
|
|||
|
||||
LogReader logreader{_vehicle.ahrs, _vehicle.ins, _vehicle.barometer, _vehicle.compass, _vehicle.gps, _vehicle.airspeed, _vehicle.dataflash, nottypes};
|
||||
|
||||
FILE *plotf;
|
||||
FILE *plotf2;
|
||||
FILE *ekf1f;
|
||||
FILE *ekf2f;
|
||||
FILE *ekf3f;
|
||||
|
|
Loading…
Reference in New Issue