[gnome-maps] opendataCH: Remove extranous parameter
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] opendataCH: Remove extranous parameter
- Date: Sat, 26 Feb 2022 09:40:48 +0000 (UTC)
commit c869f998e7cb1cee86550d122850bf40533e3763
Author: Marcus Lundblad <ml update uu se>
Date: Sat Feb 26 10:39:11 2022 +0100
opendataCH: Remove extranous parameter
Remove an extra unneeded copy of the "duration"
parameter when constructing a TransitPlan.Itinerary.
src/transitplugins/opendataCH.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/transitplugins/opendataCH.js b/src/transitplugins/opendataCH.js
index 62fb972f..cd4640c1 100644
--- a/src/transitplugins/opendataCH.js
+++ b/src/transitplugins/opendataCH.js
@@ -236,8 +236,7 @@ var OpendataCH = class OpendataCH {
return new TransitPlan.Itinerary({ duration: duration,
departure: startTime,
arrival: endTime,
- legs: legs,
- duration: duration });
+ legs: legs });
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]