Skip to content

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgsvectorlayerproperties.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ void QgsVectorLayerProperties::apply()
255255
// Set up sql subset query if applicable
256256
//
257257
#ifdef HAVE_POSTGRESQL
258-
QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
258+
// Tim commented out the next line because dp is not actually used anywhere....
259+
//QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
259260
//see if we are dealing with a pg layer here
260261
if(layer->providerType() == "postgres")
261262
{

0 commit comments

Comments
 (0)
Please sign in to comment.