summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorportix <none@none>2012-12-28 19:23:46 +0100
committerportix <none@none>2012-12-28 19:23:46 +0100
commit60a66c73df1b8df2451587b043535347f72a0123 (patch)
treedb9d9f896b202e15a5d9b7a6fe22cb52fb59dc73 /src
parent6964518fd0cdeadff2f64181f5f9c265b6952536 (diff)
downloaddwb-60a66c73df1b8df2451587b043535347f72a0123.zip
Get rid of missing-field-initializers warning in GOptionEntry-array
Diffstat (limited to 'src')
-rw-r--r--src/application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.c b/src/application.c
index 79652ffc..aa393cf6 100644
--- a/src/application.c
+++ b/src/application.c
@@ -51,7 +51,7 @@ static GOptionEntry options[] = {
{ "execute", 'x', 0, G_OPTION_ARG_STRING_ARRAY, &s_opt_exe, "Execute commands", NULL},
{ "version", 'v', 0, G_OPTION_ARG_NONE, &s_opt_version, "Show version information and exit", NULL},
{ "enable-scripts", 'S', 0, G_OPTION_ARG_NONE, &s_opt_enable_scripts, "Enable javascript api", NULL},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
static GOptionContext *option_context;
/* }}} */