mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
conf: add missing break on a switch case
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>
This commit is contained in:
parent
a9d1c08b71
commit
f52dbac93f
@ -770,7 +770,7 @@ virNodeDeviceDefFormat(const virNodeDeviceDef *def)
|
|||||||
virNodeDeviceCapMdevTypesFormat(&buf,
|
virNodeDeviceCapMdevTypesFormat(&buf,
|
||||||
data->ap_matrix.mdev_types,
|
data->ap_matrix.mdev_types,
|
||||||
data->ap_matrix.nmdev_types);
|
data->ap_matrix.nmdev_types);
|
||||||
|
break;
|
||||||
case VIR_NODE_DEV_CAP_MDEV_TYPES:
|
case VIR_NODE_DEV_CAP_MDEV_TYPES:
|
||||||
case VIR_NODE_DEV_CAP_FC_HOST:
|
case VIR_NODE_DEV_CAP_FC_HOST:
|
||||||
case VIR_NODE_DEV_CAP_VPORTS:
|
case VIR_NODE_DEV_CAP_VPORTS:
|
||||||
|
Loading…
Reference in New Issue
Block a user