Skip to content

Commit 14542c2

Browse files
jfsmigfvennetier
authored andcommitted
gridinit: Fix variables initiations
1 parent 4c13cff commit 14542c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main/gridinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static GOptionEntry entries[] = {
8787
"verbose output mode", NULL},
8888
{"syslog", 's', 0, G_OPTION_ARG_STRING, &syslog_id,
8989
"enable logs using syslog with the given ID", "ID"},
90-
{NULL}
90+
{NULL, 0, 0, 0, NULL, NULL, NULL}
9191
};
9292

9393
/* ------------------------------------------------------------------------- */

main/gridinit_cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static GOptionEntry entries[] = {
129129
"csv or json","FORMAT"},
130130
{"version", 'v', 0, G_OPTION_ARG_NONE, &flag_version,
131131
"Display the version of gridinit_cmd", NULL},
132-
{NULL}
132+
{NULL, 0, 0, 0, NULL, NULL, NULL}
133133
};
134134

135135
static const gchar options[] = "(status{,2,3}|start|stop|reload|repair) [ID...]";

0 commit comments

Comments
 (0)