[glib: 4/10] Fix missing initializer warning in gio/tests/gdbus-non-socket.c
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 4/10] Fix missing initializer warning in gio/tests/gdbus-non-socket.c
- Date: Fri, 23 Apr 2021 09:37:30 +0000 (UTC)
commit d255962abb926ddf54ac5cf801a3f8efa0bd1d2d
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Fri Nov 20 19:35:42 2020 +0100
Fix missing initializer warning in gio/tests/gdbus-non-socket.c
gio/tests/gdbus-non-socket.c:116:1: error: missing initializer for field ‘padding’ of
‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
116 | };
| ^
gio/tests/gdbus-non-socket.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/tests/gdbus-non-socket.c b/gio/tests/gdbus-non-socket.c
index 64d985a15..911aff262 100644
--- a/gio/tests/gdbus-non-socket.c
+++ b/gio/tests/gdbus-non-socket.c
@@ -112,7 +112,8 @@ pokee_method_call (GDBusConnection *connection,
static const GDBusInterfaceVTable pokee_vtable = {
pokee_method_call,
NULL, /* get_property */
- NULL /* set_property */
+ NULL, /* set_property */
+ { 0 }
};
/* Processes:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]