Skip to content

Commit c0a072b

Browse files
author
timlinux
committedFeb 12, 2008
Remove compiler warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@8143 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 3c1b2f7 commit c0a072b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1993,7 +1993,7 @@ bool QgisApp::addVectorLayers(QStringList const & theLayerQStringList, const QSt
19931993

19941994
statusBar()->message(mMapCanvas->extent().stringRep(2));
19951995

1996-
1996+
return true;
19971997
} // QgisApp::addVectorLayer()
19981998

19991999

‎src/app/qgsmaptoolcapture.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ int QgsMapToolCapture::addVertex(const QPoint& p)
105105
}
106106
catch(QgsCsException &cse)
107107
{
108+
UNUSED(cse);
108109
return 2;
109110
}
110111

@@ -121,6 +122,7 @@ int QgsMapToolCapture::addVertex(const QPoint& p)
121122
}
122123
catch(QgsCsException &cse)
123124
{
125+
UNUSED (cse);
124126
return 2;
125127
}
126128
mRubberBand->addPoint(mapPoint);

0 commit comments

Comments
 (0)
Please sign in to comment.