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();