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

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



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


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