diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-30 15:24:48 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-30 15:24:48 +0000 |
| commit | 259a75e957a8eb0f9d541594e8edf45e77274874 (patch) | |
| tree | 8af03acd80c69e6710336ae53e9b39a411360a14 | |
| parent | notify: ${icon}: don't fallback to app-id (diff) | |
notify: remove debug assertion
(FD 0 _is_ valid, after all)
| -rw-r--r-- | notify.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |
