diff options
author | Brian Paul <[email protected]> | 2002-03-01 04:28:32 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-03-01 04:28:32 +0000 |
commit | c5a76cbed41b5816d2f5284f90c70364b062aea4 (patch) | |
tree | 85d76cf432f7e33d419766afe54f144e20e0e0e6 /src/mesa/drivers/x11/xm_api.c | |
parent | 09a0cb464d2bc661859c6435f2145e8a5ece005a (diff) |
silence gcc warnings (Marc La France)
Diffstat (limited to 'src/mesa/drivers/x11/xm_api.c')
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 28d3d25e136..d5cc5f7d111 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 ); } |