Skip to content

Commit

Permalink
test: fts-squat: Ignore gettimeofday return value in test
Browse files Browse the repository at this point in the history
Makes static analyzers happier
  • Loading branch information
cmouse authored and GitLab committed Mar 30, 2017
1 parent 108bb19 commit ab9be85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/fts-squat/squat-test.c
Expand Up @@ -138,7 +138,7 @@ int main(int argc ATTR_UNUSED, char *argv[])
}

clock_end = clock();
gettimeofday(&tv_end, NULL);
(void)gettimeofday(&tv_end, NULL);

cputime = (double)(clock_end - clock_start) / CLOCKS_PER_SEC;
fprintf(stderr, "\n - Index time: %.2f CPU seconds, "
Expand Down

0 comments on commit ab9be85

Please sign in to comment.