Skip to content

Commit

Permalink
vk-3689-nn-route: compiler warning fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Udumft committed Apr 26, 2022
1 parent dc34010 commit 2831b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MapboxCoreNavigation/CoreNavigationNavigator.swift
Expand Up @@ -65,7 +65,7 @@ class Navigator {
completion(.success(alternativeRoutes))
}
else if result.isError() {
let reason = (result.error as? String) ?? ""
let reason = (result.error as String?) ?? ""
os_log("Failed to update navigator Alternative Routes with reason: %{public}@",
log: Navigator.log,
type: .error,
Expand Down

0 comments on commit 2831b6c

Please sign in to comment.