From 95f00361b33afcefab2a3560ba490548cff9643a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 26 Aug 2021 08:47:53 +1000 Subject: [PATCH] tools: fix a whitespace issue/compiler warning in the fake portal Whitespace issue originally, but let's fix it so that clang no longer complains about missing initializers. Signed-off-by: Peter Hutterer --- tools/eis-fake-portal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/eis-fake-portal.c b/tools/eis-fake-portal.c index bc3c322..2c23a5e 100644 --- a/tools/eis-fake-portal.c +++ b/tools/eis-fake-portal.c @@ -223,7 +223,7 @@ main(int argc, char **argv) static struct option long_opts[] = { { "busname", required_argument, 0, OPT_BUSNAME}, { "help", no_argument, 0, 'h'}, - { NULL}, + { .name = NULL }, }; int optind = 0;