Skip to content

Commit

Permalink
qgsmdalprovider.cpp: fix false-positive warning about potentially unu…
Browse files Browse the repository at this point in the history
…sed variable
  • Loading branch information
rouault authored and nyalldawson committed Jun 15, 2020
1 parent 3827aa0 commit 1c7b583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/mdal/qgsmdalprovider.cpp
Expand Up @@ -550,7 +550,7 @@ QgsMeshDatasetGroupMetadata QgsMdalProvider::datasetGroupMetadata( int groupInde

bool isScalar = MDAL_G_hasScalarData( group );
MDAL_DataLocation location = MDAL_G_dataLocation( group );
QgsMeshDatasetGroupMetadata::DataType type;
QgsMeshDatasetGroupMetadata::DataType type = QgsMeshDatasetGroupMetadata::DataOnFaces;
switch ( location )
{
case MDAL_DataLocation::DataOnFaces:
Expand Down

0 comments on commit 1c7b583

Please sign in to comment.