]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-json: silence false positive warning by coverity
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 24 Jan 2025 13:53:13 +0000 (22:53 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 24 Jan 2025 20:31:41 +0000 (05:31 +0900)
commit9b3715d529e4eba79e19c87e85583f7be5ee2c95
tree880cfb45004c94f93871546d46aaa386b50c1e1e
parent11eb2fcc80746eef3318950794e0cf6f6895ef45
sd-json: silence false positive warning by coverity

An object json is a set of key and value pair, hence has its number of
element is multiple of two, and we know at least two elements there.

Follow-up for b6a2df630701de0bcf77850ced213d7fc3d0c4de.
Fixes CID#1590724
src/libsystemd/sd-json/sd-json.c