[bijiben] main-toolbar: Missing break in case statement
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] main-toolbar: Missing break in case statement
- Date: Sun, 11 Jun 2017 18:34:45 +0000 (UTC)
commit 5cbfeec214509b97d67877cfb0e52c6c37c6f6d4
Author: Isaque Galdino <igaldino gmail com>
Date: Sun Jun 11 15:30:09 2017 -0300
main-toolbar: Missing break in case statement
gcc7 is complainting about an implicit-fallthrough situation: a missing
break in a case statement.
This commit adds that to the code.
https://bugzilla.gnome.org/show_bug.cgi?id=783465
src/bjb-main-toolbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/bjb-main-toolbar.c b/src/bjb-main-toolbar.c
index b44f68e..4e49dc2 100644
--- a/src/bjb-main-toolbar.c
+++ b/src/bjb-main-toolbar.c
@@ -1131,6 +1131,7 @@ bjb_main_toolbar_get_property (GObject *object,
{
case PROP_PARENT:
g_value_set_object (value, self->priv->parent);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]