mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-15 22:05:24 -05:00
notify: remove debug assertion
(FD 0 _is_ valid, after all)
This commit is contained in:
parent
ba79bf1602
commit
259a75e957
1 changed files with 1 additions and 3 deletions
4
notify.c
4
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue