diff --git a/src/signal.cpp b/src/signal.cpp --- a/src/signal.cpp +++ b/src/signal.cpp @@ -216,9 +216,7 @@ static inline bool CheckAddToTodoSet(Til assert(!_tbdset.IsIn(t1, d1)); // it really shouldn't be there already - if (_tbdset.Remove(t2, d2)) return false; - - return true; + return !_tbdset.Remove(t2, d2); }