cleanup cmp_notification

This commit is contained in:
Sascha Kruse 2013-02-16 10:23:49 +01:00
parent ba09fa21f9
commit 51b2cb9d52

View File

@ -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 {