Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
This commit is contained in:
parent
1ea7ab1f42
commit
23f6fd1633
85 changed files with 246 additions and 496 deletions
|
@ -928,10 +928,6 @@ static void RB_SurfaceFace( srfSurfaceFace_t *surf ) {
|
|||
|
||||
tess.numIndexes += surf->numIndices;
|
||||
|
||||
v = surf->points[0];
|
||||
|
||||
ndx = tess.numVertexes;
|
||||
|
||||
numPoints = surf->numPoints;
|
||||
|
||||
if ( tess.shader->needsNormal ) {
|
||||
|
@ -1046,7 +1042,6 @@ static void RB_SurfaceGrid( srfGridMesh_t *cv ) {
|
|||
// in the tess structure, so we may have to issue it in multiple passes
|
||||
|
||||
used = 0;
|
||||
rows = 0;
|
||||
while ( used < lodHeight - 1 ) {
|
||||
// see how many rows of both verts and indexes we can add without overflowing
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue