summaryrefslogtreecommitdiff
path: root/src/renderer/tr_surface.c
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-07-29 12:27:00 +0000
committerTim Angus <tim@ngus.net>2013-01-10 22:36:34 +0000
commite7c06719510940898e1f7f8215f4137202611308 (patch)
tree0aec0bf91daa568d8cb4a1c412037ca26b2f92a6 /src/renderer/tr_surface.c
parent76544bcec46127587d183a90e5ff817a71e1f139 (diff)
Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
Diffstat (limited to 'src/renderer/tr_surface.c')
-rw-r--r--src/renderer/tr_surface.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/renderer/tr_surface.c b/src/renderer/tr_surface.c
index afb4121e..0fcfc3f0 100644
--- a/src/renderer/tr_surface.c
+++ b/src/renderer/tr_surface.c
@@ -929,10 +929,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 ) {
@@ -1047,7 +1043,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 {