From 2e5c1dce4e6fc27a6968ac91986564200bc5f3bd Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 20 Jan 2003 00:24:22 +0000 Subject: fix IBM CPP warning (Evgeny Kotsuba) --- src/mesa/swrast/s_tritemp.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h index 0dc4f89182..fc154fa714 100644 --- a/src/mesa/swrast/s_tritemp.h +++ b/src/mesa/swrast/s_tritemp.h @@ -1,10 +1,10 @@ -/* $Id: s_tritemp.h,v 1.42 2003/01/14 04:55:46 brianp Exp $ */ +/* $Id: s_tritemp.h,v 1.43 2003/01/20 00:24:22 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 5.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -836,11 +836,14 @@ static void NAME(GLcontext *ctx, const SWvertex *v0, adjx = (float)(fx - eLeft->fx0); /* SCALED! */ adjy = eLeft->adjy; /* SCALED! */ +#ifndef __IBMCPP__ (void) adjx; /* silence compiler warnings */ (void) adjy; /* silence compiler warnings */ - +#endif vLower = eLeft->v0; +#ifndef __IBMCPP__ (void) vLower; /* silence compiler warnings */ +#endif #ifdef PIXEL_ADDRESS { -- cgit v1.2.3