Fix: silence unused warning in native_bt
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 29 Aug 2017 16:17:36 +0000 (12:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 29 Aug 2017 21:50:07 +0000 (17:50 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/bt2/bt2/native_btcomponentclass.i

index 195ca3819c3a7865cf1b2a55360ab712c6568b1c..da25e3762d51775b3bdf094822580034f6c59815 100644 (file)
@@ -816,7 +816,7 @@ static void bt_py3_cc_set_optional_iter_methods(struct bt_component_class *cc,
                int (*set_notif_iter_init_method)(struct bt_component_class *, bt_component_class_notification_iterator_init_method),
                int (*set_notif_iter_finalize_method)(struct bt_component_class *, bt_component_class_notification_iterator_finalize_method))
 {
-       int ret;
+       int ret __attribute__((unused));
 
        ret = set_notif_iter_init_method(
                cc, bt_py3_cc_notification_iterator_init);
This page took 0.024853 seconds and 5 git commands to generate.