[Bf-blender-cvs] [c6e6a9046e1] master: GHOST/EGL: ignore unused variables

Christian Rauch noreply at git.blender.org
Tue Jun 22 21:17:52 CEST 2021


Commit: c6e6a9046e1b918adf7f5d172e84acf7768c09d9
Author: Christian Rauch
Date:   Tue Jun 15 21:03:33 2021 +0100
Branches: master
https://developer.blender.org/rBc6e6a9046e1b918adf7f5d172e84acf7768c09d9

GHOST/EGL: ignore unused variables

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

M	intern/ghost/intern/GHOST_ContextEGL.cpp

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

diff --git a/intern/ghost/intern/GHOST_ContextEGL.cpp b/intern/ghost/intern/GHOST_ContextEGL.cpp
index bac7057d953..6ec79aad045 100644
--- a/intern/ghost/intern/GHOST_ContextEGL.cpp
+++ b/intern/ghost/intern/GHOST_ContextEGL.cpp
@@ -149,6 +149,9 @@ static bool egl_chk(bool result, const char *file = NULL, int line = 0, const ch
             static_cast<unsigned int>(error),
             code ? code : "<Unknown>",
             msg ? msg : "<Unknown>");
+    (void)(file);
+    (void)(line);
+    (void)(text);
 #endif
   }



More information about the Bf-blender-cvs mailing list