[Bf-blender-cvs] [d78bcf90557] blender2.8: Revert "GHOST: Fix uninitialized var"

Clément Foucault noreply at git.blender.org
Tue Jul 3 13:36:10 CEST 2018


Commit: d78bcf90557a157555b0fafcf3f8d03e5b6496ca
Author: Clément Foucault
Date:   Mon Jul 2 19:35:09 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBd78bcf90557a157555b0fafcf3f8d03e5b6496ca

Revert "GHOST: Fix uninitialized var"

This reverts commit 27b673402228aeede8369d99bf64f3da21541058.

===================================================================

M	intern/ghost/intern/GHOST_ContextGLX.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp
index c94151a1a0e..1365a1a9c24 100644
--- a/intern/ghost/intern/GHOST_ContextGLX.cpp
+++ b/intern/ghost/intern/GHOST_ContextGLX.cpp
@@ -305,7 +305,7 @@ const bool GLXEW_ARB_create_context_robustness =
 		fprintf(stderr, "Warning! GLX_ARB_create_context not available.\n");
 	}
 
-	GHOST_TSuccess success = GHOST_kSuccess;
+	GHOST_TSuccess success;
 
 	if (m_context != NULL) {
 		if (!s_sharedContext)



More information about the Bf-blender-cvs mailing list