[libvirt PATCH] conf: add missing break on a switch case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This was not causing any problems because all cases below were empty,
but in order to avoid future misbehavior, add a break to this case.

Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
---
 src/conf/node_device_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/node_device_conf.c b/src/conf/node_device_conf.c
index 51746229fc..364bb489bd 100644
--- a/src/conf/node_device_conf.c
+++ b/src/conf/node_device_conf.c
@@ -770,7 +770,7 @@ virNodeDeviceDefFormat(const virNodeDeviceDef *def)
                 virNodeDeviceCapMdevTypesFormat(&buf,
                                                 data->ap_matrix.mdev_types,
                                                 data->ap_matrix.nmdev_types);
-
+            break;
         case VIR_NODE_DEV_CAP_MDEV_TYPES:
         case VIR_NODE_DEV_CAP_FC_HOST:
         case VIR_NODE_DEV_CAP_VPORTS:
-- 
2.35.3




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux