diff --git a/dunst.c b/dunst.c index 8e17965..a9b1d91 100644 --- a/dunst.c +++ b/dunst.c @@ -125,13 +125,6 @@ int cmp_notification(const void *va, const void *vb) if (!sort) return 1; - if (a == NULL && b == NULL) - return 1; - else if (a == NULL) - return 1; - else if (b == NULL) - return -1; - if (a->urgency != b->urgency) { return b->urgency - a->urgency; } else {