mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-27 02:58:31 -04:00
HAL_Linux: fixed an error found with valgrind
sa_flags wasn't initialised
This commit is contained in:
parent
8c464572d8
commit
02519afdf4
@ -42,7 +42,7 @@ bool ConsoleDevice::open()
|
||||
|
||||
bool ConsoleDevice::_set_signal_handlers(void) const
|
||||
{
|
||||
struct sigaction sa;
|
||||
struct sigaction sa {};
|
||||
sigemptyset(&sa.sa_mask);
|
||||
sa.sa_handler = SIG_IGN;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user