On Thu, Jun 20, 2024 at 01:22:42PM +0200, Michal Privoznik wrote: > In a few instances there is a plain if() check for > _virDomainSecDef::sectype. While this works perfectly for now, > soon there'll be another type and we can utilize compiler to > identify all the places that need adaptation. Switch those if() > statements to switch(). > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/qemu/qemu_cgroup.c | 18 ++++++++++++++---- > src/qemu/qemu_driver.c | 16 ++++++++++++++-- > src/qemu/qemu_process.c | 17 +++++++++++++---- > src/security/security_dac.c | 32 +++++++++++++++++++++++++------- > 4 files changed, 66 insertions(+), 17 deletions(-) Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|