ardupilot/Tools/Replay
Lucas De Marchi cb0ffc0e07 Replay: fix build error due to missing noreturn
Add noreturn attribute to field_not_found(). This function always call
abort() if the field was not found. The compiler may not know about it
and may think some variables are used uninitialized:

../../Tools/Replay/LR_MsgHandler.cpp: In member function ‘void LR_MsgHandler_GPA_Base::update_from_msg_gpa(uint8_t, uint8_t*)’:
../../Tools/Replay/LR_MsgHandler.cpp:212:24: error: ‘sacc’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     gps.setHIL_Accuracy(gps_offset, vdop*0.01f, hacc*0.01f, vacc*0.01f, sacc*0.01f, have_vertical_velocity, sample_ms);
                        ^

Instead of just initializing the variable (which is pointless in this case),
teach the compiler that this function never returns so require_field() works
properly.
2016-05-10 16:15:41 -03:00
..
CheckLogs.py Replay: automatically find message types, and improve rate detection 2015-07-04 15:14:14 +10:00
DataFlashFileReader.cpp Replay: don't write out duplicate FMT messages 2015-07-04 22:43:54 +10:00
DataFlashFileReader.h Tools: replace header guard with pragma once 2016-03-16 18:40:45 +11:00
LR_MsgHandler.cpp Replay: use a larger LOG_FILE_BUFSIZE for Replay 2016-05-09 13:58:37 +10:00
LR_MsgHandler.h Replay: added --logmatch option 2016-05-07 18:27:22 +10:00
LogReader.cpp Replay: use a larger LOG_FILE_BUFSIZE for Replay 2016-05-09 13:58:37 +10:00
LogReader.h Replay: save CHEK messages when not being generated 2015-07-09 10:20:45 +10:00
Makefile Replay: enable array bounds checking in Replay 2015-01-09 11:05:21 +11:00
MsgHandler.cpp Replay: cope with GPS ground couse in degrees 2016-05-07 18:27:21 +10:00
MsgHandler.h Replay: fix build error due to missing noreturn 2016-05-10 16:15:41 -03:00
Parameters.h Replay: enable LOG_REPLAY in replay 2016-05-09 12:48:30 +10:00
Replay.cpp AP_Math: Replace wrap_* functions with template versions 2016-05-10 11:41:26 -03:00
VehicleType.h Tools: replace header guard with pragma once 2016-03-16 18:40:45 +11:00
make.inc Replay: fix replay build 2015-12-29 10:46:35 -08:00
plotit.sh Replay: moved replay tool into Tools/Replay 2014-03-01 14:30:55 +11:00
wscript waf: ardupilotwaf: allow multiple program groups for program 2016-03-26 15:43:08 -03:00