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

Christophe Fergeau cfergeau at redhat.com
Fri Dec 14 15:42:59 UTC 2012


Issues spotted by Coverity
---
 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




More information about the virt-tools-list mailing list