From c5a76cbed41b5816d2f5284f90c70364b062aea4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 1 Mar 2002 04:28:32 +0000 Subject: silence gcc warnings (Marc La France) --- src/mesa/drivers/x11/xm_api.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/x11/xm_api.c') diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 28d3d25e13..d5cc5f7d11 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -1,4 +1,4 @@ -/* $Id: xm_api.c,v 1.32 2002/02/20 23:59:03 brianp Exp $ */ +/* $Id: xm_api.c,v 1.33 2002/03/01 04:28:32 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -23,7 +23,7 @@ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - +/* $XFree86: xc/extras/Mesa/src/X/xm_api.c,v 1.2 2002/02/26 23:37:31 tsi Exp $ */ /* * This file contains the implementations of all the XMesa* functions. @@ -168,6 +168,8 @@ static short hpcr_rgbTbl[3][256] = { */ static void error( const char *msg ) { + (void)DitherValues; /* Muffle compiler */ + if (getenv("MESA_DEBUG")) fprintf( stderr, "X/Mesa error: %s\n", msg ); } -- cgit v1.2.3