]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-json: update comment regarding struct size
authorLuca Boccassi <luca.boccassi@gmail.com>
Fri, 13 Feb 2026 19:32:37 +0000 (19:32 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 26 Feb 2026 10:24:31 +0000 (10:24 +0000)
commitc2d34aa2e461a6b7fa69bf375414883bbd736f56
tree16a24ef85fa938365601f467a52af5c39bec15ba
parent92d80756c27122c3b21f67f59394249445982362
sd-json: update comment regarding struct size

The assert at the bottom was updated when the size changed, but
the comment wasn't:

assert_cc(sizeof(sd_json_variant) == 40U);

Follow-up for 337712e777bff389f53e26d5b378d2ceba7d98a8

(cherry picked from commit 987f0fb062f02bc4c8591f03c27c5b35ddc08a65)
src/libsystemd/sd-json/sd-json.c