Skip to content

Commit eec5cb6

Browse files
committed
lint: Fix lint error: ineffectual assignment
Signed-off-by: Ashish Kumar <[email protected]>
1 parent 3a7820c commit eec5cb6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/database/schedule.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ func scanScheduleRows(rows pgx.Rows) (util.ScheduleData, error) {
238238
VehicleData: prevI.VehicleData,
239239
Route: route,
240240
})
241-
route = nil
242241
}
243242

244243
if !fullSummaryFound && len(summary) != 0 {

0 commit comments

Comments
 (0)