Skip to content
Permalink
Browse files

fix warnings

  • Loading branch information
jef-n committed Sep 22, 2015
1 parent 9438259 commit 32dc02c4cdb2e9c0a0f489873d634365f725c078
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/providers/grass/qgsgrassvectormap.cpp
@@ -120,7 +120,7 @@ bool QgsGrassVectorMap::openMap()
{
QgsDebugMsg( "Cannot find GRASS vector" );
QgsGrass::unlock();
return -1;
return false;
}

// Read the time of vector dir before Vect_open_old, because it may take long time (when the vector
@@ -150,7 +150,7 @@ bool QgsGrassVectorMap::openMap()
{
QgsDebugMsg( "Cannot open GRASS vector head" );
QgsGrass::unlock();
return -1;
return false;
}
else if ( level == 1 )
{
@@ -161,7 +161,7 @@ bool QgsGrassVectorMap::openMap()
if ( ret == QMessageBox::Cancel )
{
QgsGrass::unlock();
return -1;
return false;
}
}

@@ -175,7 +175,7 @@ bool QgsGrassVectorMap::openMap()
{
QgsGrass::warning( QString( "Cannot open GRASS vector: %1" ).arg( e.what() ) );
QgsGrass::unlock();
return -1;
return false;
}

if ( level == 1 )
@@ -193,7 +193,7 @@ bool QgsGrassVectorMap::openMap()
{
QgsGrass::warning( QString( "Cannot build topology: %1" ).arg( e.what() ) );
QgsGrass::unlock();
return -1;
return false;
}
}
QgsDebugMsg( "GRASS map successfully opened" );

0 comments on commit 32dc02c

Please sign in to comment.
You can’t perform that action at this time.