diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-04-14 12:40:17 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-04-14 12:40:17 -0700 |
commit | 8ed08872b92fda01e4a1f8c2ff159085e76a6f4b (patch) | |
tree | 74e0d290f7507ab95d8f322eb352c693a0666e00 /parser.cpp | |
parent | 7a75e7341b9a7287681fa0a850365a50ab6a993b (diff) |
Remove the now-unused parser_t::job_create
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -773,18 +773,6 @@ void parser_t::job_add(job_t *job) this->my_job_list.push_front(job); } -job_t *parser_t::job_create(const io_chain_t &io) -{ - job_t *res = new job_t(acquire_job_id(), io); - this->my_job_list.push_front(res); - - job_set_flag(res, - JOB_CONTROL, - (job_control_mode==JOB_CONTROL_ALL) || - ((job_control_mode == JOB_CONTROL_INTERACTIVE) && (get_is_interactive()))); - return res; -} - bool parser_t::job_remove(job_t *j) { job_list_t::iterator iter = std::find(my_job_list.begin(), my_job_list.end(), j); |