mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
Fix job_t variable name inconsistency (#3685)
This commit is contained in:
parent
1621fa43d8
commit
834fdf8666
1 changed files with 2 additions and 2 deletions
|
@ -558,8 +558,8 @@ void parser_t::job_add(job_t *job) {
|
|||
this->my_job_list.push_front(job);
|
||||
}
|
||||
|
||||
bool parser_t::job_remove(job_t *j) {
|
||||
job_list_t::iterator iter = std::find(my_job_list.begin(), my_job_list.end(), j);
|
||||
bool parser_t::job_remove(job_t *job) {
|
||||
job_list_t::iterator iter = std::find(my_job_list.begin(), my_job_list.end(), job);
|
||||
if (iter != my_job_list.end()) {
|
||||
my_job_list.erase(iter);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue