From a02aeaf972851d92a300d564fb54383956bc37cb Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 12 Aug 2015 18:02:02 +0200 Subject: [PATCH] Fix a maybe-uninitialized warning on GCC 4.9 --- src/glx_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx_context.c b/src/glx_context.c index 79d6eb5e..5e149c60 100644 --- a/src/glx_context.c +++ b/src/glx_context.c @@ -280,7 +280,7 @@ int _glfwCreateContext(_GLFWwindow* window, const _GLFWfbconfig* fbconfig) { int attribs[40]; - GLXFBConfig native; + GLXFBConfig native = NULL; GLXContext share = NULL; if (ctxconfig->share)