summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-11-09 19:49:48 +0000
committerRichard Hughes <richard@hughsie.com>2016-11-09 19:49:48 +0000
commit2c11f97ac63be92701272788fa9b0007c962be7b (patch)
treed871d7f907607e6b0ffb8f5100fe154a556f9b82
parent004a665ed0b1ec429eaa732e605f9d3479b1460a (diff)
downloadcolord-2c11f97ac63be92701272788fa9b0007c962be7b.tar.gz
trivial: Fix two missing break statements
Found by Coverity.
-rw-r--r--src/cd-debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cd-debug.c b/src/cd-debug.c
index 805be2e..c1e3553 100644
--- a/src/cd-debug.c
+++ b/src/cd-debug.c
@@ -66,6 +66,7 @@ cd_debug_ignore_cb (const gchar *log_domain,
#else
g_print ("%s\n", message);
#endif
+ break;
case G_LOG_LEVEL_CRITICAL:
case G_LOG_LEVEL_ERROR:
case G_LOG_LEVEL_WARNING:
@@ -100,6 +101,7 @@ cd_debug_handler_cb (const gchar *log_domain,
#else
g_print ("%s\n", message);
#endif
+ break;
case G_LOG_LEVEL_CRITICAL:
case G_LOG_LEVEL_ERROR:
case G_LOG_LEVEL_WARNING: