From 259a75e957a8eb0f9d541594e8edf45e77274874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 30 Jul 2024 17:24:48 +0200 Subject: [PATCH] notify: remove debug assertion (FD 0 _is_ valid, after all) --- notify.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/notify.c b/notify.c index c82c86f0..c53a3110 100644 --- a/notify.c +++ b/notify.c @@ -504,10 +504,8 @@ notify_icon_free(struct notification_icon *icon) { if (icon->tmp_file_name != NULL) { unlink(icon->tmp_file_name); - if (icon->tmp_file_fd >= 0) { - xassert(icon->tmp_file_fd > 0); // DEBUG + if (icon->tmp_file_fd >= 0) close(icon->tmp_file_fd); - } } free(icon->id);