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 <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-11-05 14:22:46 +10:00
parent fcfffd80d7
commit 6041d0ba69

View file

@ -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;