Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--routing/car_router.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/routing/car_router.cpp b/routing/car_router.cpp
index 0e8c013a70..1f4cd434e4 100644
--- a/routing/car_router.cpp
+++ b/routing/car_router.cpp
@@ -282,7 +282,18 @@ bool CarRouter::FindRouteMSMT(TFeatureGraphNodeVec const & sources,
{
case NoError: return true;
case Cancelled: return false;
- default: continue;
+ case NoCurrentPosition:
+ LOG(LERROR, ("NoCurrentPosition routing result returned by FindSingleRouteDispatcher()"));
+ return false;
+ case InconsistentMWMandRoute: return false;
+ case RouteFileNotExist: return false;
+ case StartPointNotFound: continue;
+ case EndPointNotFound: continue;
+ case PointsInDifferentMWM: return false;
+ case RouteNotFound: continue;
+ case NeedMoreMaps: return false;
+ case InternalError: return false;
+ case FileTooOld: return false;
}
}
}