Merge pull request #6241 from sloriot/CGAL-warnings

Fix warnings
This commit is contained in:
Laurent Rineau 2022-01-21 14:40:16 +01:00
commit 4c7719cd85
1 changed files with 3 additions and 2 deletions

View File

@ -742,6 +742,7 @@ public:
m_in.clear(std::ios::badbit);
if(verbose())
std::cerr<<"error while reading facet. Missing index."<<std::endl;
index=0;
return;
}
index = static_cast<std::size_t>(entries[current_entry]);
@ -757,7 +758,7 @@ public:
"cannot read OFF file beyond facet "
<< current_facet << "." << std::endl;
}
index=0;
set_off_header(false);
return;
}
@ -777,7 +778,7 @@ public:
<< index + index_offset() << ": is out of range."
<< std::endl;
}
index = 0;
set_off_header(false);
return;
}