removed harmless warnings
This commit is contained in:
parent
9a137ad9ef
commit
302a7725fa
|
@ -104,7 +104,7 @@ class FaceTypeHolder{
|
|||
typedef BTT *TetraPointer;
|
||||
template <class LeftF>
|
||||
void ImportLocal(const LeftF & ){}
|
||||
static void Name(std::vector<std::string> & name){}
|
||||
static void Name(std::vector<std::string> & /* name */){}
|
||||
|
||||
|
||||
// prot
|
||||
|
|
|
@ -95,7 +95,7 @@ class VertexTypeHolder{
|
|||
typedef BTT *TetraPointer;
|
||||
template < class LeftV>
|
||||
void ImportLocal(const LeftV & /* left */ ) { }
|
||||
static void Name(std::vector<std::string> & name){}
|
||||
static void Name(std::vector<std::string> & /* name */){}
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ namespace io {
|
|||
/* save Ocf Vertex Components */
|
||||
template <typename OpenMeshType,typename CONT>
|
||||
struct SaveVertexOcf{
|
||||
SaveVertexOcf(FILE*f, const CONT & vert, bool only_header){
|
||||
SaveVertexOcf(FILE*f, const CONT & /*vert*/, bool only_header){
|
||||
// do nothing, it is a std::vector
|
||||
if(only_header){
|
||||
WriteString(f,"NOT_HAS_VERTEX_QUALITY_OCF");
|
||||
|
@ -144,7 +144,7 @@ namespace io {
|
|||
/* save Ocf Face Components */
|
||||
template <typename MeshType,typename CONT>
|
||||
struct SaveFaceOcf{
|
||||
SaveFaceOcf(FILE * f,const CONT & face, bool only_header){
|
||||
SaveFaceOcf(FILE * f,const CONT & /*face*/, bool only_header){
|
||||
// it is a std::vector
|
||||
if(only_header){
|
||||
WriteString(f,"NOT_HAS_FACE_QUALITY_OCF");
|
||||
|
|
|
@ -300,7 +300,7 @@ namespace io {
|
|||
|
||||
template <typename MeshType, typename CONT>
|
||||
struct LoadVertexOcf{
|
||||
LoadVertexOcf(FILE*f,const CONT & vert){
|
||||
LoadVertexOcf(FILE* /*f*/,const CONT & /*vert*/){
|
||||
// do nothing, it is a std::vector
|
||||
}
|
||||
};
|
||||
|
@ -382,7 +382,7 @@ namespace io {
|
|||
|
||||
template <typename MeshType, typename CONT>
|
||||
struct LoadFaceOcf{
|
||||
LoadFaceOcf(FILE * f, const CONT & face){
|
||||
LoadFaceOcf(FILE * /* f */ , const CONT & /* face */){
|
||||
// do nothing, it is a std::vector
|
||||
}
|
||||
};
|
||||
|
@ -616,7 +616,7 @@ namespace io {
|
|||
return true;
|
||||
}
|
||||
|
||||
static int Open(OpenMeshType &m, const char * filename, int & mask,CallBackPos * cb = 0 ){
|
||||
static int Open(OpenMeshType &m, const char * filename, int & mask,CallBackPos * /*cb*/ = 0 ){
|
||||
|
||||
typedef typename OpenMeshType::VertexType VertexType;
|
||||
typedef typename OpenMeshType::FaceType FaceType;
|
||||
|
@ -661,7 +661,7 @@ namespace io {
|
|||
m.vert.resize(vertSize);
|
||||
|
||||
|
||||
int read = 0;
|
||||
size_t read = 0;
|
||||
/* load the vertices */
|
||||
if(vertSize>0){
|
||||
read=fread((void*)& m.vert[0],sizeof(VertexType),vertSize,F());
|
||||
|
@ -688,7 +688,7 @@ namespace io {
|
|||
|
||||
ReadString(F(),_trash); ReadInt(F(),n);
|
||||
|
||||
for(int ia = 0 ; ia < n; ++ia){
|
||||
for(size_t ia = 0 ; ia < n; ++ia){
|
||||
ReadString(F(),_trash); ReadString(F(),_string);
|
||||
ReadString(F(),_trash); ReadInt(F(),sz);
|
||||
|
||||
|
@ -700,7 +700,7 @@ namespace io {
|
|||
|
||||
/* load the per face attributes */
|
||||
ReadString(F(),_trash); ReadInt(F(),n);
|
||||
for(int ia = 0 ; ia < n; ++ia){
|
||||
for(size_t ia = 0 ; ia < n; ++ia){
|
||||
ReadString(F(),_trash); ReadString(F(),_string);
|
||||
ReadString(F(),_trash); ReadInt(F(),sz);
|
||||
void * data = Malloc(sz*m.face.size());
|
||||
|
|
Loading…
Reference in New Issue