mirror of https://github.com/CGAL/cgal
Small modification to avoid a compilation warning.
This commit is contained in:
parent
2844c9d9ab
commit
4d070dbf51
|
|
@ -381,18 +381,31 @@ bool test_one_file(std::ifstream& inp)
|
|||
inp >> pwh2;
|
||||
}
|
||||
|
||||
bool success;
|
||||
if(type1 == 0 && type2 ==0)
|
||||
bool success = false;
|
||||
|
||||
if(type1 == 0 && type2 == 0)
|
||||
{
|
||||
success = test(inp, p1 ,p2);
|
||||
}
|
||||
else
|
||||
if(type1 == 0 && type2 ==1)
|
||||
{
|
||||
if(type1 == 0 && type2 == 1)
|
||||
{
|
||||
success = test(inp, p1 ,pwh2);
|
||||
}
|
||||
else
|
||||
if(type1 == 1 && type2 ==0)
|
||||
{
|
||||
if(type1 == 1 && type2 == 0)
|
||||
{
|
||||
success = test(inp, pwh1, p2);
|
||||
}
|
||||
else
|
||||
if(type1 == 1 && type2 ==1)
|
||||
{
|
||||
if(type1 == 1 && type2 == 1)
|
||||
success = test(inp, pwh1, pwh2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return (success);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue