Skip to content
Permalink
Browse files
fix vc warnings
  • Loading branch information
jef-n committed Jan 9, 2012
1 parent aa01596 commit 2647e1de8cac320e2f077ba0e363b470147729a0
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgsmaptoolcapture.cpp
  2. +1 −1 src/providers/grass/qgsgrassprovider.cpp
@@ -296,7 +296,7 @@ void QgsMapToolCapture::validateGeometry()
delete mGeomErrorMarkers.takeFirst();
}

QgsGeometry *g;
QgsGeometry *g = 0;

switch ( mCaptureMode )
{
@@ -2481,7 +2481,7 @@ QVector<QgsDataItem*> QgsGrassMapsetItem::createChildren()

QString path = mPath + QDir::separator() + "vector" + QDir::separator() + name;

QgsDataCollectionItem *map;
QgsDataCollectionItem *map = 0;
if ( layerNames.size() != 1 )
map = new QgsDataCollectionItem( this, name );
foreach( QString layerName, layerNames )

0 comments on commit 2647e1d

Please sign in to comment.