We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27e71d8 commit c97ed7dCopy full SHA for c97ed7d
src/app/qgsvectorlayerproperties.cpp
@@ -255,7 +255,8 @@ void QgsVectorLayerProperties::apply()
255
// Set up sql subset query if applicable
256
//
257
#ifdef HAVE_POSTGRESQL
258
- QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
+ // Tim commented out the next line because dp is not actually used anywhere....
259
+ //QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
260
//see if we are dealing with a pg layer here
261
if(layer->providerType() == "postgres")
262
{
0 commit comments