core/manager: make manager_load_unit*() functions always take output arg
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 12 Feb 2017 17:40:09 +0000 (12:40 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 12 Feb 2017 17:40:09 +0000 (12:40 -0500)
commit7a6a095a9ef6ec014a23a231e5d11e8a2ef0fe17
tree6f3ddeae1e19416b395f6db88ae02040138d5421
parent6818c54ca6663c008fad77d2677c61758c7215f5
core/manager: make manager_load_unit*() functions always take output arg

We were inconsistent, manager_load_unit_prepare() would crash if _ret was ever NULL.
But none of the callers use NULL. So simplify things and require it to be non-NULL.
src/core/manager.c