From 61ccb034d01662d4df3adfb96aa8a4113facec39 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 9 Dec 2013 00:27:36 +0100 Subject: [PATCH] Formatting. --- src/x11_window.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/x11_window.c b/src/x11_window.c index 03aee283..7f756950 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -1178,10 +1178,8 @@ void _glfwPlatformWaitEvents(void) { if (!XPending(_glfw.x11.display)) { - int fd; fd_set fds; - - fd = ConnectionNumber(_glfw.x11.display); + const int fd = ConnectionNumber(_glfw.x11.display); FD_ZERO(&fds); FD_SET(fd, &fds);