diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 02:00:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 02:00:55 +0400 |
commit | 7f34653f59ad3f7bed75eb9a36aa6ed928eef181 (patch) | |
tree | 999e7d6a234780e854bcdc20f440a9b7f1ec13b5 /extern/recastnavigation | |
parent | 67f1e83508ac1312b6b41093cb1946363ce3d0fd (diff) |
style cleanup: + some warning fixes, also remove unused metaelem extern.
Diffstat (limited to 'extern/recastnavigation')
-rw-r--r-- | extern/recastnavigation/Detour/Source/DetourStatNavMesh.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/recastnavigation/Detour/Source/DetourStatNavMesh.cpp b/extern/recastnavigation/Detour/Source/DetourStatNavMesh.cpp index 8da8e2c1e1e..a02211816a2 100644 --- a/extern/recastnavigation/Detour/Source/DetourStatNavMesh.cpp +++ b/extern/recastnavigation/Detour/Source/DetourStatNavMesh.cpp @@ -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; } |