summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_tritemp.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-01-20 00:24:22 +0000
committerBrian Paul <[email protected]>2003-01-20 00:24:22 +0000
commit2e5c1dce4e6fc27a6968ac91986564200bc5f3bd (patch)
tree872ebe113f0cf4da89df7b7e47a6fa48f6cef11f /src/mesa/swrast/s_tritemp.h
parent47ecdf55daa836b13f049fd28d0e2263dff8884f (diff)
fix IBM CPP warning (Evgeny Kotsuba)
Diffstat (limited to 'src/mesa/swrast/s_tritemp.h')
-rw-r--r--src/mesa/swrast/s_tritemp.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h
index 0dc4f891820..fc154fa714f 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
{