Fix some issues reported by staticcheck

This commit is contained in:
Kovid Goyal
2022-09-21 19:10:57 +05:30
parent d6f42a11d7
commit ef49634353
4 changed files with 4 additions and 7 deletions

View File

@@ -93,7 +93,6 @@ func read_from_tty(pipe_r *os.File, term *tty.Term, results_channel chan<- []byt
case results_channel <- send:
case <-quit_channel:
keep_going = false
break
}
}
}