diff --git a/src/x11_monitor.c b/src/x11_monitor.c index 960bb04c..69d87253 100644 --- a/src/x11_monitor.c +++ b/src/x11_monitor.c @@ -201,7 +201,7 @@ void _glfwRestoreVideoMode(_GLFWmonitor* monitor) _GLFWmonitor** _glfwPlatformGetMonitors(int* count) { int i, j, k, found = 0; - _GLFWmonitor** monitors; + _GLFWmonitor** monitors = NULL; *count = 0;