[Bf-blender-cvs] [dea3f7f] master: GHOST get rid of unused warnings

Antony Riakiotakis noreply at git.blender.org
Fri May 29 15:14:14 CEST 2015


Commit: dea3f7f5ff2a4797e3dedbc89c337fe25df8866c
Author: Antony Riakiotakis
Date:   Fri May 29 15:13:47 2015 +0200
Branches: master
https://developer.blender.org/rBdea3f7f5ff2a4797e3dedbc89c337fe25df8866c

GHOST get rid of unused warnings

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

M	intern/ghost/intern/GHOST_DisplayManagerX11.cpp

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

diff --git a/intern/ghost/intern/GHOST_DisplayManagerX11.cpp b/intern/ghost/intern/GHOST_DisplayManagerX11.cpp
index e0d5430..0cc1162 100644
--- a/intern/ghost/intern/GHOST_DisplayManagerX11.cpp
+++ b/intern/ghost/intern/GHOST_DisplayManagerX11.cpp
@@ -90,6 +90,7 @@ getNumDisplaySettings(
 	numSettings = 1;
 #endif
 
+	(void) display;
 	return GHOST_kSuccess;
 }
 
@@ -116,6 +117,8 @@ getDisplaySetting(
 	if (dpy == NULL)
 		return GHOST_kFailure;
 
+	(void) display;
+
 #ifdef WITH_X11_XF86VMODE
 	int majorVersion, minorVersion;




More information about the Bf-blender-cvs mailing list