]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
conf: add missing break on a switch case
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 15 Jul 2022 17:56:59 +0000 (12:56 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Tue, 19 Jul 2022 15:59:08 +0000 (10:59 -0500)
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@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/node_device_conf.c

index 51746229fcdb189db1836ed89d7316885069074c..364bb489bd313edd8bd07bde0780bdf6887f8873 100644 (file)
@@ -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: