From cccc066735986f0e66bb3d48d7688cc78bcecd4d Mon Sep 17 00:00:00 2001 From: cignoni Date: Sun, 2 Dec 2012 14:53:37 +0000 Subject: [PATCH] removed harmless warnings --- wrap/io_trimesh/import_nvm.h | 2 +- wrap/io_trimesh/import_obj.h | 2 +- wrap/io_trimesh/import_out.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wrap/io_trimesh/import_nvm.h b/wrap/io_trimesh/import_nvm.h index adea1e34..8158e2e4 100644 --- a/wrap/io_trimesh/import_nvm.h +++ b/wrap/io_trimesh/import_nvm.h @@ -110,7 +110,7 @@ static int Open( OpenMeshType &m, std::vector > & shots, shots.resize(num_cams); for(uint i = 0; i < num_cams;++i) { - float f, k1, k2; + float f, k1; vcg::Point4f R; vcg::Point3f t; diff --git a/wrap/io_trimesh/import_obj.h b/wrap/io_trimesh/import_obj.h index b1d901ad..84fc713d 100644 --- a/wrap/io_trimesh/import_obj.h +++ b/wrap/io_trimesh/import_obj.h @@ -530,7 +530,7 @@ public: } // end while stream not eof assert((numTriangles +numVertices) == numVerticesPlusFaces+extraTriangles); - FaceIterator fi = vcg::tri::Allocator::AddFaces(m,numTriangles); + vcg::tri::Allocator::AddFaces(m,numTriangles); //------------------------------------------------------------------------------- // Now the final passes: diff --git a/wrap/io_trimesh/import_out.h b/wrap/io_trimesh/import_out.h index e882dc10..467c44e8 100644 --- a/wrap/io_trimesh/import_out.h +++ b/wrap/io_trimesh/import_out.h @@ -96,7 +96,7 @@ static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigne static int Open( OpenMeshType &m, std::vector > & shots, std::vector & image_filenames, - const char * filename,const char * filename_images, const char * filename_images_path = "",CallBackPos *cb=0) + const char * filename,const char * filename_images, CallBackPos *cb=0) { unsigned int num_cams,num_points;