AP_Logger: use UNUSED_RESULT
Co-Authored-By: Francisco Ferreira <OXINARF@users.noreply.github.com>
This commit is contained in:
parent
8e58cb993d
commit
4418495c99
@ -1074,7 +1074,7 @@ void AP_Logger_File::_io_timer(void)
|
||||
t.modtime = utc_usec / (1000UL * 1000UL);
|
||||
t.actime = t.modtime;
|
||||
// we ignore return on utime() as there is nothing useful we can do
|
||||
(void)utime(_write_filename, &t);
|
||||
UNUSED_RESULT(utime(_write_filename, &t));
|
||||
_need_rtc_update = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user