mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-23 00:05:43 -04:00
remove unused variables
This commit is contained in:
parent
5fe1ea85bf
commit
e252f5cd6f
@ -69,9 +69,6 @@ class CORE_EXPORT QgsErrorMessage
|
|||||||
QString mFile;
|
QString mFile;
|
||||||
QString mFunction;
|
QString mFunction;
|
||||||
int mLine = 0;
|
int mLine = 0;
|
||||||
|
|
||||||
//! Message format
|
|
||||||
Format mFormat = Text;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -497,7 +497,6 @@ QgsRasterFileWriter::WriterError QgsRasterFileWriter::writeImageRaster( QgsRaste
|
|||||||
void *greenData = qgsMalloc( mMaxTileWidth * mMaxTileHeight );
|
void *greenData = qgsMalloc( mMaxTileWidth * mMaxTileHeight );
|
||||||
void *blueData = qgsMalloc( mMaxTileWidth * mMaxTileHeight );
|
void *blueData = qgsMalloc( mMaxTileWidth * mMaxTileHeight );
|
||||||
void *alphaData = qgsMalloc( mMaxTileWidth * mMaxTileHeight );
|
void *alphaData = qgsMalloc( mMaxTileWidth * mMaxTileHeight );
|
||||||
QgsRectangle mapRect;
|
|
||||||
int iterLeft = 0, iterTop = 0, iterCols = 0, iterRows = 0;
|
int iterLeft = 0, iterTop = 0, iterCols = 0, iterRows = 0;
|
||||||
int fileIndex = 0;
|
int fileIndex = 0;
|
||||||
|
|
||||||
|
@ -1477,7 +1477,7 @@ bool QgsSymbolLayerUtils::convertPolygonSymbolizerToPointMarker( QDomElement &el
|
|||||||
int markIndex = -1;
|
int markIndex = -1;
|
||||||
QColor fillColor, strokeColor;
|
QColor fillColor, strokeColor;
|
||||||
double strokeWidth = 1.0, size = 0.0, angle = 0.0;
|
double strokeWidth = 1.0, size = 0.0, angle = 0.0;
|
||||||
QPointF anchor, offset;
|
QPointF offset;
|
||||||
|
|
||||||
// Fill element can contain a GraphicFill element
|
// Fill element can contain a GraphicFill element
|
||||||
QDomElement graphicFillElem = fillElem.firstChildElement( QStringLiteral( "GraphicFill" ) );
|
QDomElement graphicFillElem = fillElem.firstChildElement( QStringLiteral( "GraphicFill" ) );
|
||||||
|
@ -216,7 +216,6 @@ bool QgsGPXProvider::addFeature( QgsFeature &f, Flags )
|
|||||||
bool success = false;
|
bool success = false;
|
||||||
QgsGpsObject *obj = nullptr;
|
QgsGpsObject *obj = nullptr;
|
||||||
QgsAttributes attrs = f.attributes();
|
QgsAttributes attrs = f.attributes();
|
||||||
QgsAttributeMap::const_iterator it;
|
|
||||||
|
|
||||||
// is it a waypoint?
|
// is it a waypoint?
|
||||||
if ( mFeatureType == WaypointType && geo && wkbType == QgsWkbTypes::Point )
|
if ( mFeatureType == WaypointType && geo && wkbType == QgsWkbTypes::Point )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user