Skip to content

Commit

Permalink
Comment out line 258 to remove unused var compiler warning
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6491 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 2, 2007
1 parent 27e71d8 commit c97ed7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsvectorlayerproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ void QgsVectorLayerProperties::apply()
// Set up sql subset query if applicable
//
#ifdef HAVE_POSTGRESQL
QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
// Tim commented out the next line because dp is not actually used anywhere....
//QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
//see if we are dealing with a pg layer here
if(layer->providerType() == "postgres")
{
Expand Down

0 comments on commit c97ed7d

Please sign in to comment.