Unverified Commit dd151dc6 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

get_connecting_trains_p: we're doing boolean arithmetic here

(fixes 'useless use of numeric lt in void context' warning)
parent 2f2624a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ sub get_connecting_trains_p {
		return $promise->reject;
	}

	my $can_check_in = not $arr_epoch or ( $arr_countdown // 1 ) < 0;
	my $can_check_in = not $arr_epoch || ( $arr_countdown // 1 ) < 0;

	$self->iris->get_departures_p(
		station      => $eva,