[gnome-software] trivial: Fix a missing break in a case statement
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix a missing break in a case statement
- Date: Wed, 9 Nov 2016 10:00:22 +0000 (UTC)
commit ebc03e52278d2052c598e57e133b65a7c9cd7a48
Author: Richard Hughes <richard hughsie com>
Date: Wed Nov 9 09:36:13 2016 +0000
trivial: Fix a missing break in a case statement
Found using Coverity.
src/gs-utils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-utils.c b/src/gs-utils.c
index ac9bbd2..4386c34 100644
--- a/src/gs-utils.c
+++ b/src/gs-utils.c
@@ -727,6 +727,7 @@ gs_utils_error_convert_json_glib (GError **perror)
switch (error->code) {
case JSON_PARSER_ERROR_UNKNOWN:
error->code = GS_PLUGIN_ERROR_FAILED;
+ break;
default:
error->code = GS_PLUGIN_ERROR_INVALID_FORMAT;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]