[virt-tools-list] [libosinfo 1/2] Add missing break; in switch()

Fabiano Fidêncio fabiano at fidencio.org
Fri Dec 14 15:45:20 UTC 2012


On Fri, Dec 14, 2012 at 1:42 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> Issues spotted by Coverity

ACK in both!

> ---
>  osinfo/osinfo_product.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/osinfo/osinfo_product.c b/osinfo/osinfo_product.c
> index 35a0f09..8f0a799 100644
> --- a/osinfo/osinfo_product.c
> +++ b/osinfo/osinfo_product.c
> @@ -132,6 +132,8 @@ osinfo_product_get_property (GObject    *object,
>      case PROP_CODENAME:
>          g_value_set_string (value,
>                              osinfo_product_get_codename (product));
> +        break;
> +
>      case PROP_LOGO:
>          g_value_set_string (value,
>                              osinfo_product_get_logo (product));
> --
> 1.8.0.2
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list



--
Fabiano Fidêncio




More information about the virt-tools-list mailing list