From Randall Hopper, warning fixes for IRIX.

This commit is contained in:
Robert Osfield
2002-07-18 15:28:26 +00:00
parent 979fc70a94
commit 1d9dd54d11
2 changed files with 2 additions and 4 deletions

View File

@@ -42,8 +42,7 @@ Node *makeSky( void )
Vec2Array& tcoords = *(new Vec2Array(19*nlev));
int ci, ii;
ii = ci = 0;
int ci = 0;
for( i = 0; i < nlev; i++ )
{

View File

@@ -64,7 +64,7 @@ void getDatabaseCenterRadius( float dbcenter[3], float *dbradius )
Node *makeTerrain( void )
{
int m, n;
int i, j, c;
int i, j;
float dbcenter[3];
float dbradius;
@@ -97,7 +97,6 @@ Node *makeTerrain( void )
geom->setColorArray( &col );
geom->setColorBinding( Geometry::BIND_OVERALL );
c = 0;
for( i = 0; i < m-2; i++ )
{
UShortDrawElements* elements = new UShortDrawElements(Primitive::TRIANGLE_STRIP);