event/SignalMonitor: fix obsolete nullptr check in SignalCallback()

This commit is contained in:
Max Kellermann 2016-08-15 12:40:16 +02:00
parent 743fa73a01
commit 22a353b8e3

View File

@ -115,7 +115,7 @@ at_fork_child()
static void
SignalCallback(int signo)
{
assert(signal_handlers[signo] != nullptr);
assert(signal_handlers[signo]);
if (!signal_pending[signo].exchange(true))
monitor->WakeUp();