[glib: 8/10] Fix missing initializer warning in gio/tests/gdbus-example-server.c
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 8/10] Fix missing initializer warning in gio/tests/gdbus-example-server.c
- Date: Fri, 23 Apr 2021 09:37:30 +0000 (UTC)
commit 59acf6950c3b3321a592f1a77984395bcb2c8e0f
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Fri Nov 20 19:55:13 2020 +0100
Fix missing initializer warning in gio/tests/gdbus-example-server.c
gio/tests/gdbus-example-server.c:280:1: error: missing initializer for field ‘padding’ of
‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
280 | };
| ^
gio/tests/gdbus-example-server.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/tests/gdbus-example-server.c b/gio/tests/gdbus-example-server.c
index 00e482724..b19f6505d 100644
--- a/gio/tests/gdbus-example-server.c
+++ b/gio/tests/gdbus-example-server.c
@@ -276,7 +276,8 @@ static const GDBusInterfaceVTable interface_vtable =
{
handle_method_call,
handle_get_property,
- handle_set_property
+ handle_set_property,
+ { 0 }
};
/* ---------------------------------------------------------------------------------------------------- */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]