1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

lib/util: Fix Value stored to 'ret' is never read warning

Fixes:

lib/util/tfork.c:260:3: warning: Value stored to 'ret' is never read <--[clang]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Noel Power 2019-06-17 15:23:42 +00:00 committed by Noel Power
parent 043334f2eb
commit dcaaf9ff7a

View File

@ -260,8 +260,8 @@ static void tfork_atfork_child(void)
ret = pthread_sigmask(SIG_SETMASK, &signal_state.oldset, NULL);
#else
ret = sigprocmask(SIG_SETMASK, &signal_state.oldset, NULL);
assert(ret == 0);
#endif
assert(ret == 0);
signal_state.pid = NULL;
}