From 834fdf8666450c10b2ffd7702a815004a0a29861 Mon Sep 17 00:00:00 2001 From: Vedant Nevetia Date: Fri, 30 Dec 2016 05:39:52 +0530 Subject: [PATCH] Fix job_t variable name inconsistency (#3685) --- src/parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser.cpp b/src/parser.cpp index fa9bbe1d4..7ec47285c 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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;