Removed harmless warnings

This commit is contained in:
Paolo Cignoni 2009-05-22 07:54:42 +00:00
parent e1e58a75cf
commit 291c2790af
4 changed files with 25 additions and 26 deletions

View File

@ -246,7 +246,7 @@ private:
return;
}
}
assert(pos >=0 && pos< _mesh->vert.size());
assert(pos >=0 && size_t(pos)< _mesh->vert.size());
v = &_mesh->vert[pos];
}
void GetYIntercept(const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointer &v)

View File

@ -50,7 +50,7 @@ Revision 1.1 2005/02/22 16:40:29 ganovelli
created. This version writes the gaussian curvature on the Q() member of
the vertex
/****************************************************************************/
****************************************************************************/
#ifndef VCGLIB_UPDATE_CURVATURE_
#define VCGLIB_UPDATE_CURVATURE_
@ -401,7 +401,7 @@ public:
static void MeanAndGaussian(MeshType & m)
{
assert(HasFFAdjacency(m));
float area0, area1, area2, angle0, angle1, angle2, e01, e12, e20;
float area0, area1, area2, angle0, angle1, angle2;
FaceIterator fi;
VertexIterator vi;
typename MeshType::CoordType e01v ,e12v ,e20v;

View File

@ -174,7 +174,6 @@ static size_t VertexFromFaceLoose(MeshType &m)
*/
static size_t VertexFromFaceStrict(MeshType &m)
{
size_t selCnt=0;
VertexFromFaceLoose(m);
FaceIterator fi;
for(fi = m.face.begin(); fi != m.face.end(); ++fi)

View File

@ -103,7 +103,7 @@ class FaceTypeHolder{
typedef BFT *FacePointer;
typedef BTT *TetraPointer;
template <class LeftF>
void ImportLocal(const LeftF & l){}
void ImportLocal(const LeftF & ){}
static void Name(std::vector<std::string> & name){}