Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unrequired default values
  • Loading branch information
m-kuhn committed Mar 9, 2019
1 parent cebfa7b commit 785dd7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/qgslabelingengine.cpp
Expand Up @@ -154,9 +154,6 @@ void QgsLabelingEngine::processProvider( QgsAbstractLabelProvider *provider, Qgs
case QgsPalLayerSettings::ShowAll:
upsdnlabels = pal::Layer::ShowAll;
break;
default:
Q_ASSERT( "unsupported upside-down label setting" && false );
return;
}
l->setUpsidedownLabels( upsdnlabels );

Expand Down Expand Up @@ -195,7 +192,6 @@ void QgsLabelingEngine::run( QgsRenderContext &context )
pal::SearchMethod s;
switch ( settings.searchMethod() )
{
default:
case QgsLabelingEngineSettings::Chain:
s = pal::CHAIN;
break;
Expand Down

0 comments on commit 785dd7f

Please sign in to comment.