aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-30 15:24:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-30 15:24:48 +0000
commit259a75e957a8eb0f9d541594e8edf45e77274874 (patch)
tree8af03acd80c69e6710336ae53e9b39a411360a14 /notify.c
parentnotify: ${icon}: don't fallback to app-id (diff)
notify: remove debug assertion
(FD 0 _is_ valid, after all)
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c4
1 files changed, 1 insertions, 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);