mirror of https://github.com/CGAL/cgal
Fix some warnings
This commit is contained in:
parent
436a81b8f6
commit
0bbb6c6f4e
|
|
@ -282,7 +282,6 @@ void test_bgl_OFF(const char* filename)
|
|||
{
|
||||
assert(get(vnm2, v) != CGAL::NULL_VECTOR);
|
||||
assert(get(vcm2, v) != CGAL::Color());
|
||||
assert(get(vtm2, v) != Point_2());
|
||||
}
|
||||
|
||||
for(const auto f : faces(fg))
|
||||
|
|
@ -306,7 +305,6 @@ void test_bgl_OFF(const char* filename)
|
|||
{
|
||||
assert(get(vnm, v) != CGAL::NULL_VECTOR);
|
||||
assert(get(vcm, v) != CGAL::Color());
|
||||
assert(get(vtm, v) != Point_2());
|
||||
}
|
||||
// write with OFF
|
||||
{
|
||||
|
|
@ -334,7 +332,6 @@ void test_bgl_OFF(const char* filename)
|
|||
{
|
||||
assert(get(vnm2, v) != CGAL::NULL_VECTOR);
|
||||
assert(get(vcm2, v) != CGAL::Color());
|
||||
assert(get(vtm2, v) != Point_2());
|
||||
}
|
||||
|
||||
for(const auto f : faces(fg2))
|
||||
|
|
@ -366,7 +363,6 @@ void test_bgl_OFF(const char* filename)
|
|||
{
|
||||
assert(get(vnm2, v) != CGAL::NULL_VECTOR);
|
||||
assert(get(vcm2, v) != CGAL::Color());
|
||||
assert(get(vtm2, v) != Point_2());
|
||||
}
|
||||
|
||||
for(const auto f : faces(fg2))
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ namespace CGAL {
|
|||
for (i=0; i<scanner.size_of_facets(); i++)
|
||||
{
|
||||
B.begin_facet();
|
||||
std::size_t no;
|
||||
std::size_t no=0;
|
||||
scanner.scan_facet(no, i);
|
||||
/* TODO manage errors
|
||||
if( ! in || B.error() || no < 3) {
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ void Polyhedron_scan_OFF<HDS>:: operator()(HDS& target)
|
|||
for(i=0; i<scanner.size_of_facets(); ++i)
|
||||
{
|
||||
B.begin_facet();
|
||||
std::size_t no;
|
||||
std::size_t no = 0;
|
||||
scanner.scan_facet( no, i);
|
||||
if(! m_in || B.error() || no < 3)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue