We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent a1f4991 commit 5d25ce4Copy full SHA for 5d25ce4
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