[glib: 2/8] Fix missing initializer warning in glib/giowin32.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/8] Fix missing initializer warning in glib/giowin32.c
- Date: Mon, 18 Oct 2021 14:48:20 +0000 (UTC)
commit 4ec06aa0c1f3d309bb144ba7099e825b07188340
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Fri May 14 11:51:37 2021 +0200
Fix missing initializer warning in glib/giowin32.c
glib/giowin32.c:1027:1: warning: missing initializer for field 'closure_callback' of 'GSourceFuncs' {aka
'struct _GSourceFuncs'}
};
^
glib/giowin32.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/glib/giowin32.c b/glib/giowin32.c
index e4c246d38..6afd48e61 100644
--- a/glib/giowin32.c
+++ b/glib/giowin32.c
@@ -1023,7 +1023,9 @@ GSourceFuncs g_io_watch_funcs = {
g_io_win32_prepare,
g_io_win32_check,
g_io_win32_dispatch,
- g_io_win32_finalize
+ g_io_win32_finalize,
+ NULL,
+ NULL
};
static GIOStatus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]