Mute a GCC warning

solves #287
This commit is contained in:
benrubson 2020-02-29 23:58:51 +01:00
parent 2a6beb2739
commit 76ec0420d1

View File

@ -360,7 +360,10 @@ static inline int fsp_fuse_set_signal_handlers(void *se)
static sigset_t sigmask; static sigset_t sigmask;
static pthread_t sigthr; static pthread_t sigthr;
struct sigaction oldsa, newsa = { 0 }; struct sigaction oldsa, newsa;
# memset instead of ={0} to avoid a GCC -Wmissing-field-initializers warning
memset(&newsa, 0, sizeof newsa);
if (0 != se) if (0 != se)
{ {