From 689b9b545f2a6a6aa88030793cec63f15e76a56a Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Wed, 28 Apr 2021 23:19:30 +0200 Subject: [PATCH] Fix missing initializer warning in gio/tests/socket-server.c gio/tests/socket-server.c:43:8: warning: missing field 'short_name' initializer {NULL} ^ --- gio/tests/socket-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/socket-server.c b/gio/tests/socket-server.c index 24cf0182e..8b0d2a925 100644 --- a/gio/tests/socket-server.c +++ b/gio/tests/socket-server.c @@ -40,7 +40,7 @@ static GOptionEntry cmd_entries[] = { "Time out reads after the specified number of seconds", NULL}, {"tls", 'T', 0, G_OPTION_ARG_STRING, &tls_cert_file, "Use TLS (SSL) with indicated server certificate", "CERTFILE"}, - {NULL} + G_OPTION_ENTRY_NULL }; #include "socket-common.c"