diff options
Diffstat (limited to 'kmscube/cube-null.cpp')
-rw-r--r-- | kmscube/cube-null.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmscube/cube-null.cpp b/kmscube/cube-null.cpp index f8f2091..1fba1db 100644 --- a/kmscube/cube-null.cpp +++ b/kmscube/cube-null.cpp @@ -18,9 +18,9 @@ void main_null() int framenum = 0; - struct pollfd fds[1] = { }; + struct pollfd fds[1] = {}; fds[0].fd = 0; - fds[0].events = POLLIN; + fds[0].events = POLLIN; while (true) { int r = poll(fds, ARRAY_SIZE(fds), 0); |