[glib: 2/7] Fix missing initializer warning in gio/tests/gdbus-connection.c
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/7] Fix missing initializer warning in gio/tests/gdbus-connection.c
- Date: Thu, 15 Apr 2021 07:24:58 +0000 (UTC)
commit 60d2cfb6aec74f5a186403849917d03b53cfcecc
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Thu Nov 19 01:03:23 2020 +0100
Fix missing initializer warning in gio/tests/gdbus-connection.c
gio/tests/gdbus-connection.c:90:1: error: missing initializer for field ‘padding’ of
‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
90 | };
| ^
gio/tests/gdbus-connection.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/tests/gdbus-connection.c b/gio/tests/gdbus-connection.c
index 51dd27f7e..0410a880a 100644
--- a/gio/tests/gdbus-connection.c
+++ b/gio/tests/gdbus-connection.c
@@ -86,7 +86,8 @@ static const GDBusInterfaceVTable boo_vtable =
{
NULL, /* _method_call */
NULL, /* _get_property */
- NULL /* _set_property */
+ NULL, /* _set_property */
+ { 0 }
};
/* Runs in a worker thread. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]