Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
This commit is contained in:
1 parent
1ea7ab1f42
commit
23f6fd1633
85 files changed
+246
-496
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user