Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-21 23:08:54 +02:00
parent a136403dee
commit 572f7bbd1d
20 changed files with 37 additions and 31 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ namespace VMAP
{
GModelRayCallback(const std::vector<MeshTriangle> &tris, const std::vector<Vector3> &vert):
vertices(vert.begin()), triangles(tris.begin()), hit(false) {}
bool operator()(const G3D::Ray& ray, uint32 entry, float& distance, bool pStopAtFirstHit)
bool operator()(const G3D::Ray& ray, uint32 entry, float& distance, bool /*pStopAtFirstHit*/)
{
bool result = IntersectTriangle(triangles[entry], vertices, ray, distance);
if (result) hit=true;