diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-10 19:31:10 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-10 19:31:10 +0000 |
commit | 35460afc4896b22b0df743b70003e8768d78111a (patch) | |
tree | 8491925a6646e175bb0215676bd05cb169e04cbe /src/journal/journald-stream.c | |
parent | ecad10fe4a4c247da72cafbc7b37f843c7c30c06 (diff) |
Revert "libsystemd-bus: use assert_return"
This reverts commit f7e2bd5a8070ba86cba6bcbf7d1c9a8173d846d4.
Most of these checks are not programming errors, but happen during
normal runtime. For example bus_kernel_pop_memfd() is called all the
time on non-kdbus systems and is supposed to quickly fail if kdbus is
not available. However, assert_return() makes this failure
expensive, and hence has no place here. With the most recent change to
assert_return() it will even log a debug message, which should never
happen here.
Diffstat (limited to 'src/journal/journald-stream.c')
0 files changed, 0 insertions, 0 deletions