Removed unused variables

This commit is contained in:
ntfshard authored and Alessandro Ranellucci committed 2015-11-04 20:49:20 +01:00
1 parent 32f5538e0d
commit d62f33b0b4
6 files changed
+8 -12

No files matched your search

-2
View File
@@ -162,12 +162,10 @@ Model::has_objects_with_no_instances() const
bool
Model::add_default_instances()
{
bool added = false;
// apply a default position to all objects not having one
for (ModelObjectPtrs::const_iterator o = this->objects.begin(); o != this->objects.end(); ++o) {
if ((*o)->instances.empty()) {
(*o)->add_instance();
added = true;
}
}
return true;