Skip to content

Commit

Permalink
Remove unnecessary variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jdugge authored and nyalldawson committed Aug 6, 2019
1 parent 1f3d66d commit c0d7f7d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/qgsvectorlayer.cpp
Expand Up @@ -1820,8 +1820,6 @@ QString QgsVectorLayer::encodedSource( const QString &source, const QgsReadWrite
else if ( providerType() == QLatin1String( "virtual" ) )
{
QUrl urlSource = QUrl::fromEncoded( src.toLatin1() );
QUrl url = QUrl::fromEncoded( src.toLatin1() );
QUrl urlSourceLayer;
QStringList theURIParts;

QUrlQuery query = QUrlQuery( urlSource.query() );
Expand Down Expand Up @@ -1896,8 +1894,6 @@ QString QgsVectorLayer::decodedSource( const QString &source, const QString &pro
else if ( provider == QLatin1String( "virtual" ) )
{
QUrl urlSource = QUrl::fromEncoded( src.toLatin1() );
QUrl url = QUrl::fromEncoded( src.toLatin1() );
QUrl urlSourceLayer;
QStringList theURIParts;

QUrlQuery query = QUrlQuery( urlSource.query() );
Expand Down

0 comments on commit c0d7f7d

Please sign in to comment.