Remove a warning from g++:

MainWindow_parameterization.cpp:39: warning: 'success' may be used
uninitialized in this function
This commit is contained in:
Laurent Rineau 2009-02-25 09:59:36 +00:00
parent 0ac767fa6a
commit a203642e46
1 changed files with 1 additions and 1 deletions

View File

@ -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: