diff --git a/wrap/io_trimesh/export_gts.h b/wrap/io_trimesh/export_gts.h index ea7c0c7b..83bf9cfe 100644 --- a/wrap/io_trimesh/export_gts.h +++ b/wrap/io_trimesh/export_gts.h @@ -53,7 +53,7 @@ namespace vcg { typedef typename SaveMeshType::VertexIterator VertexIterator; typedef typename SaveMeshType::FaceIterator FaceIterator; - static int Save(SaveMeshType &m, const char * filename, int mask=0 ) + static int Save(SaveMeshType &m, const char * filename, int /*mask*/ ) { QFile device(filename); if (!device.open(QFile::WriteOnly)) diff --git a/wrap/io_trimesh/import_gts.h b/wrap/io_trimesh/import_gts.h index daa48a18..9753e1db 100644 --- a/wrap/io_trimesh/import_gts.h +++ b/wrap/io_trimesh/import_gts.h @@ -185,7 +185,7 @@ namespace vcg } sa = line.split(' '); - if (!sa.size()>=3) + if (!(sa.size()>=3)) { std::cerr << "Error parsing vertex " << line.toLocal8Bit().data() << "\n"; return InvalidFile; @@ -213,7 +213,7 @@ namespace vcg } sa = line.split(' '); - if (!sa.size()>=2) + if (!(sa.size()>=2)) { std::cerr << "Error parsing edge " << line.toLocal8Bit().data() << "\n"; return InvalidFile; @@ -238,7 +238,7 @@ namespace vcg } sa = line.split(' '); - if (!sa.size()>=3) + if (!(sa.size()>=3)) { std::cerr << "Error parsing face " << line.toLocal8Bit().data() << "\n"; return InvalidFile;