Skip to content

Commit

Permalink
Avoid unwanted warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 5, 2023
1 parent c458cc1 commit a8fb734
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/proj/qgscoordinatereferencesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,7 @@ QString QgsCoordinateReferenceSystem::toProj() const

Qgis::CrsType QgsCoordinateReferenceSystem::type() const
{
// NOLINTBEGIN(bugprone-branch-clone)
switch ( d->mProjType )
{
case PJ_TYPE_UNKNOWN:
Expand Down Expand Up @@ -1353,6 +1354,7 @@ Qgis::CrsType QgsCoordinateReferenceSystem::type() const
return Qgis::CrsType::Other;
}
return Qgis::CrsType::Unknown;
// NOLINTEND(bugprone-branch-clone)
}

bool QgsCoordinateReferenceSystem::isGeographic() const
Expand Down

0 comments on commit a8fb734

Please sign in to comment.