mirror of https://github.com/CGAL/cgal
Remove a warning from g++:
MainWindow_parameterization.cpp:39: warning: 'success' may be used uninitialized in this function
This commit is contained in:
parent
0ac767fa6a
commit
a203642e46
|
|
@ -36,7 +36,7 @@ void MainWindow::parameterize(const Parameterization_method method)
|
|||
typedef CGAL::Parameterization_polyhedron_adaptor_3<Polyhedron> Adaptor;
|
||||
Adaptor adaptor(*pMesh);
|
||||
|
||||
bool success;
|
||||
bool success = false;
|
||||
switch(method)
|
||||
{
|
||||
case PARAM_MVC:
|
||||
|
|
|
|||
Loading…
Reference in New Issue