style cleanup: + some warning fixes, also remove unused metaelem extern.

This commit is contained in:
Campbell Barton
2012-03-10 22:00:55 +00:00
parent 67f1e83508
commit 7f34653f59
13 changed files with 93 additions and 75 deletions

View File

@@ -465,7 +465,7 @@ int dtStatNavMesh::raycast(dtStatPolyRef centerRef, const float* startPos, const
if (!m_header) return 0;
if (!centerRef) return 0;
dtStatPolyRef prevRef = centerRef;
/* dtStatPolyRef prevRef = centerRef; */ /* UNUSED */
dtStatPolyRef curRef = centerRef;
t = 0;
@@ -506,7 +506,7 @@ int dtStatNavMesh::raycast(dtStatPolyRef centerRef, const float* startPos, const
}
// No hit, advance to neighbour polygon.
prevRef = curRef;
/* prevRef = curRef; */ /* UNUSED */
curRef = nextRef;
}