summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2018-01-09 19:36:16 +0100
committerAlbert Astals Cid <aacid@kde.org>2018-01-09 19:36:16 +0100
commitef4e450c921f4373955def51a74ebffd8f7b4599 (patch)
treec25ff1cce203856c56d2f0e12b3b795c00b2fe2f /test
parentefd2205a0bc9e838fd2184c329f8370aa292c346 (diff)
Enable no-missing-field-initializers
Diffstat (limited to 'test')
-rw-r--r--test/gtk-test.cc2
-rw-r--r--test/pdf-fullrewrite.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/gtk-test.cc b/test/gtk-test.cc
index de633481..ec8a9eb6 100644
--- a/test/gtk-test.cc
+++ b/test/gtk-test.cc
@@ -30,7 +30,7 @@ static const GOptionEntry options[] = {
{ "splash", 's', 0, G_OPTION_ARG_NONE, &splash_output, "Splash Output Device", nullptr},
{ "page", 'p', 0, G_OPTION_ARG_INT, &page, "Page number", "PAGE" },
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &file_arguments, nullptr, "PDF-FILES…" },
- { nullptr }
+ { }
};
static GList *view_list = nullptr;
diff --git a/test/pdf-fullrewrite.cc b/test/pdf-fullrewrite.cc
index 9dbff7cc..eb5e1900 100644
--- a/test/pdf-fullrewrite.cc
+++ b/test/pdf-fullrewrite.cc
@@ -41,7 +41,7 @@ static const ArgDesc argDesc[] = {
"print usage information"},
{"-?", argFlag, &printHelp, 0,
"print usage information"},
- {nullptr}
+ { }
};
int main (int argc, char *argv[])