Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 20, 2017
1 parent 74df875 commit 34b6e2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/app/dwg/libdxfrw/intern/dwgutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++ )
{
Expand Down
3 changes: 1 addition & 2 deletions src/core/qgsmaprendererjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );
}

Expand Down

0 comments on commit 34b6e2f

Please sign in to comment.