]> git.ipfire.org Git - thirdparty/libvirt.git/commit
secret_conf: Simplify calling of virSecretDefParseUsage()
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 9 Feb 2024 11:07:03 +0000 (12:07 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Feb 2024 15:11:12 +0000 (16:11 +0100)
commit6db5362a305684341e6deae5ce4123a0133017b8
treecc996eb845212580b7998672e45770cdd0ab3b0f
parent63a416f3a1f68eaf2e770be78d0aa45c866a4dfe
secret_conf: Simplify calling of virSecretDefParseUsage()

The virSecretDefParseUsage() function is called conditionally.
Call it unconditionally and keep pointer to the <usage/> node as
it'll come handy soon.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/secret_conf.c