diff options
author | Brian Paul <[email protected]> | 2002-11-01 23:45:30 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-11-01 23:45:30 +0000 |
commit | a85fae9cb0ee1f7f24fbf4d41c62fe771673ef2f (patch) | |
tree | df18947016c82856bd791de4e0f425ccb1199746 /src/glu/sgi/libtess/tess.c | |
parent | 034e8641bb2e3a8ff9b313719ba3c44282bf07c1 (diff) |
silence a bunch of warnings
Diffstat (limited to 'src/glu/sgi/libtess/tess.c')
-rw-r--r-- | src/glu/sgi/libtess/tess.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/glu/sgi/libtess/tess.c b/src/glu/sgi/libtess/tess.c index c920235c660..0793106334f 100644 --- a/src/glu/sgi/libtess/tess.c +++ b/src/glu/sgi/libtess/tess.c @@ -35,8 +35,8 @@ /* ** Author: Eric Veach, July 1994. ** -** $Date: 2001/09/20 21:47:52 $ $Revision: 1.2 $ -** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/tess.c,v 1.2 2001/09/20 21:47:52 kschultz Exp $ +** $Date: 2002/11/01 23:45:31 $ $Revision: 1.3 $ +** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/tess.c,v 1.3 2002/11/01 23:45:31 brianp Exp $ */ #include "gluos.h" @@ -169,6 +169,8 @@ static void GotoState( GLUtesselator *tess, enum TessState newState ) CALL_ERROR_OR_ERROR_DATA( GLU_TESS_MISSING_BEGIN_CONTOUR ); gluTessBeginContour( tess ); break; + default: + ; } } else { switch( tess->state ) { @@ -181,6 +183,8 @@ static void GotoState( GLUtesselator *tess, enum TessState newState ) /* gluTessEndPolygon( tess ) is too much work! */ MakeDormant( tess ); break; + default: + ; } } } |