Re: [PATCH] libxl: add missing 'break' from commit 1298daca

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

 



On 10/16/2014 12:42 PM, Jim Fehlig wrote:
> Add missing 'break's from commit 1298daca, as noted by John Ferlan
> 
> https://www.redhat.com/archives/libvir-list/2014-October/msg00430.html
> Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
> ---
>  src/libxl/libxl_domain.c | 2 ++
>  1 file changed, 2 insertions(+)

ACK.  Qualifies as trivial.

> 
> diff --git a/src/libxl/libxl_domain.c b/src/libxl/libxl_domain.c
> index f2cd07b..9c62291 100644
> --- a/src/libxl/libxl_domain.c
> +++ b/src/libxl/libxl_domain.c
> @@ -522,6 +522,7 @@ libxlDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
>                  else
>                      dev->data.video->vram = 8 * 1024;
>                  }
> +            break;
>          case VIR_DOMAIN_VIDEO_TYPE_CIRRUS:
>              if (dev->data.video->vram == 0) {
>                  if (dm_type == LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN)
> @@ -529,6 +530,7 @@ libxlDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
>                  else
>                      dev->data.video->vram = 4 * 1024;
>              }
> +            break;
>          }
>      }
>  
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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]