[gjs] object: Mark intentional fall-through ...
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] object: Mark intentional fall-through ...
- Date: Thu, 30 Mar 2017 19:11:49 +0000 (UTC)
commit 2f05913822b7561a2678240803f297579463cc8c
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Mar 30 11:45:20 2017 +0200
object: Mark intentional fall-through ...
... to shut up a compiler warning.
gi/object.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gi/object.cpp b/gi/object.cpp
index 43cb425..9dbddaf 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -918,6 +918,7 @@ object_instance_props_to_g_parameters(JSContext *context,
case NO_SUCH_G_PROPERTY:
gjs_throw(context, "No property %s on this GObject %s",
name, g_type_name(gtype));
+ /* fallthrough */
case SOME_ERROR_OCCURRED:
g_free(name);
goto free_array_and_fail;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]