core/job: add check for return of job_type_merge_and_collapse()
authorFilipe Brandenburger <filbranden@google.com>
Tue, 12 Jun 2018 21:20:04 +0000 (14:20 -0700)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jun 2018 11:16:38 +0000 (13:16 +0200)
commit53a2383b8bd978cdd98debb69dea95bf0091116a
tree0a6de6193afc534d28ae751c8f9005485a3c51e8
parenta2680b6f274329065322399b712f8a89f7c0a35e
core/job: add check for return of job_type_merge_and_collapse()

Using an assertion is fine, since calls to job_merge_into_installed()
are protected by a check for job_type_is_conflicting().

Uncovered by Coverity, fixes CID 996307.
src/core/job.c