mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
render: fix 'suggest braces around initialization...' warning (clang)
This commit is contained in:
parent
263d3bb2ba
commit
f630633a81
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -498,7 +498,7 @@ grid_render(struct terminal *term)
|
||||||
|
|
||||||
if (timerfd_settime(
|
if (timerfd_settime(
|
||||||
term->blink.fd, 0,
|
term->blink.fd, 0,
|
||||||
&(struct itimerspec){0}, NULL) < 0)
|
&(struct itimerspec){{0}}, NULL) < 0)
|
||||||
{
|
{
|
||||||
LOG_ERRNO("failed to disarm blink timer");
|
LOG_ERRNO("failed to disarm blink timer");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue