Fix some compiler warnings
This commit is contained in:
parent
5a11e57d0a
commit
4e12748b8c
3 changed files with 0 additions and 3 deletions
|
@ -460,7 +460,6 @@ private:
|
|||
const int MAX_ZOOM = 12;
|
||||
const int SHOW_DETAIL_ZOOM = 8;
|
||||
const int SHOW_DETAIL2_ZOOM = 5;
|
||||
const int CURSOR_PAN_STEP = 32;
|
||||
|
||||
MapWidget::MapWidget(int x, int y, int maxX, int maxY) :
|
||||
puObject(x,y,maxX, maxY)
|
||||
|
|
|
@ -1134,7 +1134,6 @@ double RoutePath::distanceForVia(Via* via, int index) const
|
|||
WayptVec enrouteWaypoints = via->expandToWaypoints(prevIt->wpt);
|
||||
double dist = 0.0;
|
||||
|
||||
WayptVec::const_iterator it;
|
||||
SGGeod legStart = prevIt->wpt->position();
|
||||
for (auto wp : enrouteWaypoints) {
|
||||
dist += SGGeodesy::distanceM(legStart, wp->position());
|
||||
|
|
|
@ -774,7 +774,6 @@ void FGTrafficManager::readTimeTableFromFile(SGPath infileName)
|
|||
char buffer[256];
|
||||
string buffString;
|
||||
vector <string> tokens, depTime,arrTime;
|
||||
vector <string>::iterator it;
|
||||
|
||||
sg_ifstream infile(infileName);
|
||||
while (1) {
|
||||
|
|
Loading…
Reference in a new issue