From 445cf3bec009c130a698ede559731767b347e6cd Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 30 Jun 2008 15:00:47 +0000 Subject: [PATCH] removed harmless warnings --- vcg/simplex/vertexplus/base.h | 2 +- vcg/simplex/vertexplus/component_ocf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/vertexplus/base.h b/vcg/simplex/vertexplus/base.h index 7a1dc59d..84ef041c 100644 --- a/vcg/simplex/vertexplus/base.h +++ b/vcg/simplex/vertexplus/base.h @@ -94,7 +94,7 @@ class VertexTypeHolder{ typedef BFT *FacePointer; typedef BTT *TetraPointer; template < class LeftV> - void ImportLocal(const LeftV & left ) { } + void ImportLocal(const LeftV & /* left */ ) { } static void Name(std::vector & name){} }; diff --git a/vcg/simplex/vertexplus/component_ocf.h b/vcg/simplex/vertexplus/component_ocf.h index f1a3c33d..072cbed1 100644 --- a/vcg/simplex/vertexplus/component_ocf.h +++ b/vcg/simplex/vertexplus/component_ocf.h @@ -135,7 +135,7 @@ public: void pop_back(); void resize(const unsigned int & _size) { - int oldsize = BaseType::size(); + const unsigned int oldsize = BaseType::size(); BaseType::resize(_size); if(oldsize<_size){ ThisTypeIterator firstnew = BaseType::begin();