From dcce1eab3b02f7b0430e5349465fc0025b8a8b52 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 2 Nov 2012 14:34:28 +0100 Subject: [PATCH] test: fix -Wmissing-field-initializers warnings --- test/benchmark-spawn.c | 2 +- test/runner.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/benchmark-spawn.c b/test/benchmark-spawn.c index ccd25079..43a71834 100644 --- a/test/benchmark-spawn.c +++ b/test/benchmark-spawn.c @@ -30,7 +30,7 @@ static int N = 1000; static int done; static uv_process_t process; -static uv_process_options_t options = { 0 }; +static uv_process_options_t options; static char exepath[1024]; static size_t exepath_size = 1024; static char* args[3]; diff --git a/test/runner.h b/test/runner.h index 0358d7e2..e1bd83bc 100644 --- a/test/runner.h +++ b/test/runner.h @@ -51,7 +51,7 @@ typedef struct { task_entry_t TASKS[] = { #define TASK_LIST_END \ - { 0, 0, 0, 0 } \ + { 0, 0, 0, 0, 0 } \ }; #define TEST_DECLARE(name) \