Skip to content

Commit

Permalink
Remove unused enum
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Dec 15, 2022
1 parent 68e3d2e commit 4e1871d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
7 changes: 0 additions & 7 deletions python/core/auto_generated/raster/qgsraster.sip.in
Expand Up @@ -51,13 +51,6 @@ Raster namespace.
IdentifyFormatFeature,
};

enum RasterProgressType
{
ProgressHistogram,
ProgressPyramids,
ProgressStatistics
};

enum RasterBuildPyramids
{
PyramidsFlagNo,
Expand Down
3 changes: 0 additions & 3 deletions src/core/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -87,7 +87,6 @@ const int MAX_CACHE_SIZE = 50;

struct QgsGdalProgress
{
int type;
QgsGdalProvider *provider = nullptr;
QgsRasterBlockFeedback *feedback = nullptr;
};
Expand Down Expand Up @@ -1936,7 +1935,6 @@ QgsRasterHistogram QgsGdalProvider::histogram( int bandNo,
QgsDebugMsgLevel( QStringLiteral( "xSize() = %1 ySize() = %2 sampleSize = %3 bApproxOK = %4" ).arg( xSize() ).arg( ySize() ).arg( sampleSize ).arg( bApproxOK ), 2 );

QgsGdalProgress myProg;
myProg.type = QgsRaster::ProgressHistogram;
myProg.provider = this;
myProg.feedback = feedback;

Expand Down Expand Up @@ -2848,7 +2846,6 @@ QgsRasterBandStats QgsGdalProvider::bandStatistics( int bandNo, int stats, const
double pdfMean;
double pdfStdDev;
QgsGdalProgress myProg;
myProg.type = QgsRaster::ProgressHistogram;
myProg.provider = this;
myProg.feedback = feedback;

Expand Down
8 changes: 0 additions & 8 deletions src/core/raster/qgsraster.h
Expand Up @@ -63,14 +63,6 @@ class CORE_EXPORT QgsRaster
IdentifyFormatFeature = 1 << 3, // WMS GML/JSON -> feature
};

// Progress types
enum RasterProgressType
{
ProgressHistogram = 0,
ProgressPyramids = 1,
ProgressStatistics = 2
};

enum RasterBuildPyramids
{
PyramidsFlagNo = 0,
Expand Down

0 comments on commit 4e1871d

Please sign in to comment.