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

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



On Fri, Dec 14, 2012 at 1:42 PM, Christophe Fergeau <cfergeau 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 redhat com
> https://www.redhat.com/mailman/listinfo/virt-tools-list



--
Fabiano Fidêncio


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