Skip to content
Permalink
Browse files
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
  • Loading branch information
timlinux committed Feb 2, 2007
1 parent a1f4991 commit 5d25ce41ced39b677cd8f47b25a8b8851ec374bc
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsvectorlayerproperties.cpp
@@ -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")
{

0 comments on commit 5d25ce4

Please sign in to comment.