Skip to content

Commit e252f5c

Browse files
committedMar 28, 2018
remove unused variables
1 parent 5fe1ea8 commit e252f5c

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed
 

‎src/core/qgserror.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ class CORE_EXPORT QgsErrorMessage
6969
QString mFile;
7070
QString mFunction;
7171
int mLine = 0;
72-
73-
//! Message format
74-
Format mFormat = Text;
7572
};
7673

7774
/**

‎src/core/raster/qgsrasterfilewriter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,6 @@ QgsRasterFileWriter::WriterError QgsRasterFileWriter::writeImageRaster( QgsRaste
497497
void *greenData = qgsMalloc( mMaxTileWidth * mMaxTileHeight );
498498
void *blueData = qgsMalloc( mMaxTileWidth * mMaxTileHeight );
499499
void *alphaData = qgsMalloc( mMaxTileWidth * mMaxTileHeight );
500-
QgsRectangle mapRect;
501500
int iterLeft = 0, iterTop = 0, iterCols = 0, iterRows = 0;
502501
int fileIndex = 0;
503502

‎src/core/symbology/qgssymbollayerutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ bool QgsSymbolLayerUtils::convertPolygonSymbolizerToPointMarker( QDomElement &el
14771477
int markIndex = -1;
14781478
QColor fillColor, strokeColor;
14791479
double strokeWidth = 1.0, size = 0.0, angle = 0.0;
1480-
QPointF anchor, offset;
1480+
QPointF offset;
14811481

14821482
// Fill element can contain a GraphicFill element
14831483
QDomElement graphicFillElem = fillElem.firstChildElement( QStringLiteral( "GraphicFill" ) );

‎src/providers/gpx/qgsgpxprovider.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ bool QgsGPXProvider::addFeature( QgsFeature &f, Flags )
216216
bool success = false;
217217
QgsGpsObject *obj = nullptr;
218218
QgsAttributes attrs = f.attributes();
219-
QgsAttributeMap::const_iterator it;
220219

221220
// is it a waypoint?
222221
if ( mFeatureType == WaypointType && geo && wkbType == QgsWkbTypes::Point )

0 commit comments

Comments
 (0)
Please sign in to comment.