Skip to content

Commit 5d25ce4

Browse files
author
timlinux
committedFeb 2, 2007
Comment out line 258 to remove unused var compiler warning
git-svn-id: http://svn.osgeo.org/qgis/trunk@6491 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a1f4991 commit 5d25ce4

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.