From 51b2cb9d52977bba07b9c3cc99edd3231190e7a4 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Sat, 16 Feb 2013 10:23:49 +0100 Subject: [PATCH] cleanup cmp_notification --- dunst.c | 7 ------- 1 file changed, 7 deletions(-) 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 {