From 6041d0ba696947fb28967e5132de7fe8a5faa179 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 5 Nov 2018 14:22:46 +1000 Subject: [PATCH] test: fix a clang warning test/test-misc.c:1065:28: warning: Value stored to 't' during its initialization is never read Signed-off-by: Peter Hutterer --- test/test-misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-misc.c b/test/test-misc.c index 4589509d..7cc94c5a 100644 --- a/test/test-misc.c +++ b/test/test-misc.c @@ -1062,7 +1062,7 @@ START_TEST(evcode_prop_parser) { .prop = "none", .success = false }, { .prop = NULL }, }; - struct parser_test_tuple *t = tests; + struct parser_test_tuple *t; for (int i = 0; tests[i].prop; i++) { bool success;