diff options
Diffstat (limited to 'kmscube')
-rw-r--r-- | kmscube/cube-gbm.cpp | 2 | ||||
-rw-r--r-- | kmscube/cube-null.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kmscube/cube-gbm.cpp b/kmscube/cube-gbm.cpp index a65f693..d015c55 100644 --- a/kmscube/cube-gbm.cpp +++ b/kmscube/cube-gbm.cpp @@ -379,7 +379,7 @@ void main_gbm() for (auto& out : outputs) out->start_flipping(); - struct pollfd fds[2] = { 0 }; + struct pollfd fds[2] = { }; fds[0].fd = 0; fds[0].events = POLLIN; fds[1].fd = card.fd(); diff --git a/kmscube/cube-null.cpp b/kmscube/cube-null.cpp index 42f2ac2..2623394 100644 --- a/kmscube/cube-null.cpp +++ b/kmscube/cube-null.cpp @@ -18,7 +18,7 @@ void main_null() int framenum = 0; - struct pollfd fds[1] = { 0 }; + struct pollfd fds[1] = { }; fds[0].fd = 0; fds[0].events = POLLIN; |