Some cppcheck fixes
This commit is contained in:
@@ -489,15 +489,11 @@ int main(int argc, char* argv[])
|
||||
std::clog << " Input file: " << ifname << std::endl;
|
||||
std::clog << " Output file: " << ofname << std::endl;
|
||||
std::clog << " #collapses: " << opt.n_collapses << std::endl;
|
||||
}
|
||||
|
||||
|
||||
//----------------------------------------
|
||||
|
||||
//----------------------------------------
|
||||
|
||||
|
||||
if (gverbose)
|
||||
{
|
||||
std::clog << "Begin decimation" << std::endl;
|
||||
}
|
||||
|
||||
@@ -512,6 +508,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
//----------------------------------------
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -286,7 +286,7 @@ class PropertyManager {
|
||||
Storage::swap(rhs, *this);
|
||||
}
|
||||
|
||||
static bool propertyExists(PolyConnectivity &mesh, const char *propname) {
|
||||
static bool propertyExists(const PolyConnectivity &mesh, const char *propname) {
|
||||
PROPTYPE dummy;
|
||||
return mesh.get_property_handle(dummy, propname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user