]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Drop needless typecast to virDomainLaunchSecurity
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 12 Jun 2024 08:06:57 +0000 (10:06 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 21 Jun 2024 07:31:33 +0000 (09:31 +0200)
commita44a43361feea6cf9809cb9ea5873cdf197975fb
tree553410d2c6c71e99241a2f976b135d9865cebdaa
parentfaa3548ed5f7d389810669e9f723029bc937fbbf
Drop needless typecast to virDomainLaunchSecurity

The sectype member of _virDomainSecDef struct is already declared
as of virDomainLaunchSecurity type. There's no need to typecast
it to the very same type when passing it to switch().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/domain_conf.c
src/qemu/qemu_command.c
src/qemu/qemu_firmware.c
src/qemu/qemu_namespace.c
src/qemu/qemu_process.c
src/qemu/qemu_validate.c