[Bf-blender-cvs] [d7a216704b2] soc-2019-openxr: Fix warning in release builds

Julian Eisel noreply at git.blender.org
Sat Aug 24 03:32:38 CEST 2019


Commit: d7a216704b2858dbab5da08cbc572060fff86518
Author: Julian Eisel
Date:   Sat Aug 24 03:17:14 2019 +0200
Branches: soc-2019-openxr
https://developer.blender.org/rBd7a216704b2858dbab5da08cbc572060fff86518

Fix warning in release builds

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

M	intern/ghost/intern/GHOST_Xr_intern.h

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

diff --git a/intern/ghost/intern/GHOST_Xr_intern.h b/intern/ghost/intern/GHOST_Xr_intern.h
index 2f3346c1925..84b6fea67be 100644
--- a/intern/ghost/intern/GHOST_Xr_intern.h
+++ b/intern/ghost/intern/GHOST_Xr_intern.h
@@ -39,6 +39,7 @@
   { \
     XrResult _res = call; \
     assert(_res == XR_SUCCESS); \
+    (void)_res; \
   } \
   (void)0



More information about the Bf-blender-cvs mailing list