diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-02-28 08:56:25 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2017-03-20 14:54:40 +0000 |
commit | d42905bc04ee781771552562cfff370a0108541e (patch) | |
tree | 6d00f6c8b919206bee000e2fefd27aa86914656f /NEWS | |
parent | f6cee5f0467fac38ce0bc21218b0cdc613dd5306 (diff) | |
download | dbus-d42905bc04ee781771552562cfff370a0108541e.tar.gz |
test: Remove an unnecessary NULL check in sd-activation
test_transient_services() was checking whether (config == NULL), then
shortly afterwards dereferencing config->bus_name (which is in fact
dereferenced on all branches of the function). Remove the check and add
some assertions to ensure a Config struct is always passed into the test
(which it currently is).
Coverity ID: 141877
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99999
Reviewed-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions