Corrected various warning in an old importer/exporter
This commit is contained in:
parent
c21c89b35c
commit
a42c279255
|
@ -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))
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue