]> git.ipfire.org Git - thirdparty/systemd.git/commit
json-util: don't use assert_return() 39237/head
authorLennart Poettering <lennart@poettering.net>
Tue, 7 Oct 2025 16:57:26 +0000 (18:57 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 7 Oct 2025 16:57:28 +0000 (18:57 +0200)
commit7757de9f20a8c52130c783ffed1245f2bc009e56
tree91677e4f33245b344b998ea179395c40099922b9
parentb7c07f6ab42f2ed488f69b88c1b02c398c5782c4
json-util: don't use assert_return()

assert_return() exists for gracefully handling programmng errors in
public APIs. But these are internal APIs, hence just use a tough
assert().
src/libsystemd/sd-json/json-util.c