Skip to content

Commit

Permalink
test: fix a clang warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
whot committed Nov 5, 2018
1 parent fcfffd8 commit 6041d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-misc.c
Expand Up @@ -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;
Expand Down

0 comments on commit 6041d0b

Please sign in to comment.