aboutsummaryrefslogtreecommitdiff
path: root/tinywl
diff options
context:
space:
mode:
Diffstat (limited to 'tinywl')
-rw-r--r--tinywl/tinywl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c
index ea810571..d490167d 100644
--- a/tinywl/tinywl.c
+++ b/tinywl/tinywl.c
@@ -835,7 +835,7 @@ int main(int argc, char *argv[]) {
return 0;
}
- struct tinywl_server server;
+ struct tinywl_server server = {0};
/* The Wayland display is managed by libwayland. It handles accepting
* clients from the Unix socket, manging Wayland globals, and so on. */
server.wl_display = wl_display_create();