From 6379a8458e3f6d7b50f3f014cfe5aad9b0173027 Mon Sep 17 00:00:00 2001 From: Samuel Kogler Date: Mon, 7 May 2018 17:02:11 +0200 Subject: [PATCH] Fix uninitialized pointer check in GlfwApplication. --- src/Magnum/Platform/GlfwApplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Platform/GlfwApplication.h b/src/Magnum/Platform/GlfwApplication.h index 20dc06b0f..ce6723642 100644 --- a/src/Magnum/Platform/GlfwApplication.h +++ b/src/Magnum/Platform/GlfwApplication.h @@ -480,7 +480,7 @@ class GlfwApplication { static GlfwApplication* _instance; - GLFWwindow* _window; + GLFWwindow* _window{ nullptr }; Flags _flags; #ifdef MAGNUM_TARGET_GL std::unique_ptr _context;