]> git.ipfire.org Git - thirdparty/systemd.git/commit
vmspawn-varlink: simplify on_qmp_describe_complete result extraction
authorChristian Brauner <brauner@kernel.org>
Tue, 21 Apr 2026 22:19:48 +0000 (00:19 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 24 Apr 2026 12:39:25 +0000 (14:39 +0200)
commit34d12197633924eeb2d43a6725abe70ce0ff5fb0
treeee8f4b6e854b6439a82dcbf5c1908036d306497d
parentb34413db8e462a51feff98e427268a682ce9c7f7
vmspawn-varlink: simplify on_qmp_describe_complete result extraction

Lift the running/status extraction out of the inline ternaries inside
SD_JSON_BUILD_PAIR_*() into named local variables with explicit defaults.
Pure readability change.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
src/vmspawn/vmspawn-varlink.c