diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-12 22:02:18 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-18 15:21:28 -0500 |
commit | 2adae5ac5dd87cc6426ae0aa22116f20abc6646f (patch) | |
tree | 4234b1d0b44729a114fa3f535f784bb9ce611c6a /docs | |
parent | 011062f3c0cff25f60fa15eca8a20b8e47d7db72 (diff) |
logind: simplify job variable handling
manager_{start,stop}_{slice,scope,unit} functions had an optional job
output parameter. But all callers specified job, so make the parameter
mandatory, add asserts. Also extract common job variable handling to
a helper function to avoid duplication.
Avoids gcc warning about job being unitialized.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions