In my previous commit I've introduced virDomainIOMMUDefValidate()
function with a switch() statement. However, two cases in it,
though empty, were not terminated with a break statement which
made compiler complain.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
Merged under trivial rule.
src/conf/domain_validate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/domain_validate.c b/src/conf/domain_validate.c
index d35451c26a..57d4e63a26 100644
--- a/src/conf/domain_validate.c
+++ b/src/conf/domain_validate.c
@@ -2598,6 +2598,7 @@ virDomainIOMMUDefValidate(const virDomainIOMMUDef *iommu)
case VIR_DOMAIN_IOMMU_MODEL_VIRTIO:
case VIR_DOMAIN_IOMMU_MODEL_LAST:
+ break;
}
return 0;
--
2.35.1
Show replies by date