qbsp: remove ununsed c_tryedges variable

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-08-18 15:05:21 +09:30
parent ca02e17b60
commit 0bf7fc3374
1 changed files with 0 additions and 4 deletions

View File

@ -257,8 +257,6 @@ GetEdge
Don't allow four way edges
==================
*/
static int c_tryedges;
static int
GetEdge(mapentity_t *entity, vec3_t p1, vec3_t p2, face_t *f)
{
@ -270,7 +268,6 @@ GetEdge(mapentity_t *entity, vec3_t p1, vec3_t p2, face_t *f)
if (!f->contents[0])
Error("Face with 0 contents (%s)", __func__);
c_tryedges++;
v1 = GetVertex(entity, p1);
v2 = GetVertex(entity, p2);
@ -467,7 +464,6 @@ MakeFaceEdges(mapentity_t *entity, node_t *headnode)
pEdgeFaces1 = AllocMem(OTHER, sizeof(face_t *) * edges->count, true);
InitHash();
c_tryedges = 0;
firstface = map.cTotal[BSPFACE];
MakeFaceEdges_r(entity, headnode, 0);