]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: several cleanups for job_get_timeout()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 May 2023 18:25:37 +0000 (03:25 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 May 2023 06:06:39 +0000 (15:06 +0900)
commitfcd7e0b7edf57d8de1de35bcef26c22ecd62b256
tree5daae10c7713bc2d76e0d5b57b501d9e4c672921
parentbc52801034e9e33d7aab0cb64c84f64cd9d4c035
core: several cleanups for job_get_timeout()

- add missing assertion,
- rename the argument for storing result,
- always initialize result on success.
src/core/job.c
src/core/job.h