Skip to content

Commit c97ed7d

Browse files
author
timlinux
committed
Comment out line 258 to remove unused var compiler warning
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6491 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 27e71d8 commit c97ed7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/qgsvectorlayerproperties.cpp

+2-1
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)