]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain_conf: Make virDomainMemoryDefFormat() return void
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 27 Oct 2025 10:55:46 +0000 (11:55 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 29 Oct 2025 11:09:28 +0000 (12:09 +0100)
commit30eab13fc9812dcc0f39b0ea261414bf8f7d1403
tree870c48e350a2dc3a40a2ff6aada529dc626464d0
parent93c4b1bf55843a5be34b6e1e328f97eb6258ca18
domain_conf: Make virDomainMemoryDefFormat() return void

The only thing that's possibly making virDomainMemoryDefFormat()
fail is call to virDomainMemorySourceDefFormat() but that always
returns zero. Make both functions return void so callers are not
confused.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/conf/domain_conf.c