Skip to content
Permalink
Browse files

fixed travis warning

  • Loading branch information
blazek committed Oct 1, 2015
1 parent 24fe216 commit b8e75232e826ed5f75b9da1e67df826d7eaf7cc1
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/grass/qgsgrassvectormap.cpp
@@ -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 ) );

@@ -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() ) );
}
}

0 comments on commit b8e7523

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