diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-01-20 00:24:22 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-01-20 00:24:22 +0000 |
commit | 2e5c1dce4e6fc27a6968ac91986564200bc5f3bd (patch) | |
tree | 872ebe113f0cf4da89df7b7e47a6fa48f6cef11f /src | |
parent | 47ecdf55daa836b13f049fd28d0e2263dff8884f (diff) | |
download | external_mesa3d-2e5c1dce4e6fc27a6968ac91986564200bc5f3bd.zip external_mesa3d-2e5c1dce4e6fc27a6968ac91986564200bc5f3bd.tar.gz external_mesa3d-2e5c1dce4e6fc27a6968ac91986564200bc5f3bd.tar.bz2 |
fix IBM CPP warning (Evgeny Kotsuba)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/swrast/s_tritemp.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h index 0dc4f89..fc154fa 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 { |