Skip to content
Snippets Groups Projects
Commit c9fba95f authored by Daniel Salzman's avatar Daniel Salzman
Browse files

tests: fix dead initialization in contrib/test_time

parent 34f875df
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ static void test_diff(void)
struct timespec t2 = { 50, 1500 };
struct timespec t3 = { 70, 500 };
struct timespec res = { 0 };
struct timespec res;
res = time_diff(&t1, &t2);
ok(res.tv_sec = 40 && res.tv_nsec == 500, "time_diff()");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment