Skip to content
Permalink
Browse files

fix warnings

  • Loading branch information
jef-n committed Feb 20, 2017
1 parent 74df875 commit 34b6e2f0cc721a5f63a964ec25c8a173b4a6635e
Showing with 3 additions and 2 deletions.
  1. +2 −0 src/app/dwg/libdxfrw/intern/dwgutil.cpp
  2. +1 −2 src/core/qgsmaprendererjob.cpp
@@ -58,7 +58,9 @@ void dwgRSCodec::decode239I( unsigned char *in, unsigned char *out, duint32 blk
}
int r = rsc.decode( data );
if ( r < 0 )
{
QgsDebugMsg( "WARNING: dwgRSCodec::decode239I, can't correct all errors" );
}
k = i * 239;
for ( int j = 0; j < 239; j++ )
{
@@ -217,10 +217,9 @@ LayerRenderJobs QgsMapRendererJob::prepareJobs( QPainter* painter, QgsLabelingEn
QListIterator<QgsMapLayer*> li( mSettings.layers() );
li.toBack();

bool cacheValid = false;
if ( mCache )
{
cacheValid = mCache->init( mSettings.visibleExtent(), mSettings.scale() );
bool cacheValid = mCache->init( mSettings.visibleExtent(), mSettings.scale() );
QgsDebugMsg( QString( "CACHE VALID: %1" ).arg( cacheValid ) );
}

0 comments on commit 34b6e2f

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