lint: unnecessary else statement

This commit is contained in:
Kurtis Rader
2016-11-02 14:42:33 -07:00
parent 5709c81fe0
commit 9b0d45d4fa
5 changed files with 51 additions and 52 deletions

View File

@@ -564,11 +564,11 @@ bool parser_t::job_remove(job_t *j) {
if (iter != my_job_list.end()) {
my_job_list.erase(iter);
return true;
} else {
debug(1, _(L"Job inconsistency"));
sanity_lose();
return false;
}
debug(1, _(L"Job inconsistency"));
sanity_lose();
return false;
}
void parser_t::job_promote(job_t *job) {