Skip to content
Permalink
Browse files

[virtual layer] Cleanup - unused variable

  • Loading branch information
Hugo Mercier
Hugo Mercier committed Jun 28, 2016
1 parent c6fb7b3 commit 73ac2f3039c0aa961899af85f43fe857e6fc33a7
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/providers/virtual/qgsvirtuallayerqueryparser.cpp
@@ -154,7 +154,6 @@ namespace QgsVirtualLayerQueryParser
Sqlite::Query::exec( db, viewStr );

QStringList columns;
bool hasInvalidName = false;
QVector<int> undefinedColumns;
TableDef tableDef;
{
@@ -193,7 +192,7 @@ namespace QgsVirtualLayerQueryParser
}
}

if ( hasInvalidName || undefinedColumns.size() == 0 )
if ( undefinedColumns.size() == 0 )
return tableDef;

// get the first row to introspect types

0 comments on commit 73ac2f3

Please sign in to comment.
You can’t perform that action at this time.