Skip to content

Commit

Permalink
fixed travis warning
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Oct 1, 2015
1 parent 24fe216 commit b8e7523
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/grass/qgsgrassvectormap.cpp
Expand Up @@ -539,6 +539,7 @@ void QgsGrassVectorMap::printDebug()
}
G_TRY
{
#ifdef QGISDEBUG
int ncidx = Vect_cidx_get_num_fields( mMap );
QgsDebugMsg( QString( "ncidx = %1" ).arg( ncidx ) );

Expand All @@ -548,9 +549,11 @@ void QgsGrassVectorMap::printDebug()
int ncats = Vect_cidx_get_num_cats_by_index( mMap, i );
QgsDebugMsg( QString( "i = %1 layer = %2 ncats = %3" ).arg( i ).arg( layer ).arg( ncats ) );
}
#endif
}
G_CATCH( QgsGrass::Exception &e )
{
Q_UNUSED( e )
QgsDebugMsg( "Cannot read info from map: " + QString( e.what() ) );
}
}
Expand Down

0 comments on commit b8e7523

Please sign in to comment.