[glib: 3/6] Fix missing initializer warning in gio/gdbusobjectmanagerserver.c
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 3/6] Fix missing initializer warning in gio/gdbusobjectmanagerserver.c
- Date: Tue, 2 Feb 2021 16:11:54 +0000 (UTC)
commit 0cc48ee9375c11d0e3e11dca406dafd0cb779950
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Tue Nov 17 21:02:20 2020 +0100
Fix missing initializer warning in gio/gdbusobjectmanagerserver.c
gio/gdbusobjectmanagerserver.c:892:1: error: missing initializer for field ‘padding’ of
‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
892 | };
| ^
gio/gdbusobjectmanagerserver.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/gdbusobjectmanagerserver.c b/gio/gdbusobjectmanagerserver.c
index 273629dec..39f4ed500 100644
--- a/gio/gdbusobjectmanagerserver.c
+++ b/gio/gdbusobjectmanagerserver.c
@@ -888,7 +888,8 @@ static const GDBusInterfaceVTable manager_interface_vtable =
{
manager_method_call, /* handle_method_call */
NULL, /* get_property */
- NULL /* set_property */
+ NULL, /* set_property */
+ { 0 }
};
/* ---------------------------------------------------------------------------------------------------- */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]