Skip to content

Commit 73ac2f3

Browse files
author
Hugo Mercier
committedJun 28, 2016
[virtual layer] Cleanup - unused variable
1 parent c6fb7b3 commit 73ac2f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/providers/virtual/qgsvirtuallayerqueryparser.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ namespace QgsVirtualLayerQueryParser
154154
Sqlite::Query::exec( db, viewStr );
155155

156156
QStringList columns;
157-
bool hasInvalidName = false;
158157
QVector<int> undefinedColumns;
159158
TableDef tableDef;
160159
{
@@ -193,7 +192,7 @@ namespace QgsVirtualLayerQueryParser
193192
}
194193
}
195194

196-
if ( hasInvalidName || undefinedColumns.size() == 0 )
195+
if ( undefinedColumns.size() == 0 )
197196
return tableDef;
198197

199198
// get the first row to introspect types

0 commit comments

Comments
 (0)
Please sign in to comment.