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:
parent
043334f2eb
commit
dcaaf9ff7a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user