Skip to content

Commit

Permalink
fix vc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 9, 2012
1 parent aa01596 commit 2647e1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsmaptoolcapture.cpp
Expand Up @@ -296,7 +296,7 @@ void QgsMapToolCapture::validateGeometry()
delete mGeomErrorMarkers.takeFirst();
}

QgsGeometry *g;
QgsGeometry *g = 0;

switch ( mCaptureMode )
{
Expand Down
2 changes: 1 addition & 1 deletion src/providers/grass/qgsgrassprovider.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 2647e1d

Please sign in to comment.