- Use attribute unused where appropriate - Change unsigned int to int for comparision Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- src/rt-migrate-test/rt-migrate-test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rt-migrate-test/rt-migrate-test.c b/src/rt-migrate-test/rt-migrate-test.c index 883e60e21bff..7b1917df12a3 100644 --- a/src/rt-migrate-test/rt-migrate-test.c +++ b/src/rt-migrate-test/rt-migrate-test.c @@ -44,7 +44,7 @@ static void setup_ftrace_marker(void) "/debugfs/tracing/trace_marker", }; int ret; - int i; + unsigned int i; for (i = 0; i < (sizeof(files) / sizeof(char *)); i++) { ret = stat(files[i], &st); @@ -354,7 +354,7 @@ static void print_results(void) } } -static void write_stats(FILE *f, void *data) +static void write_stats(FILE *f, void *data __attribute__ ((unused))) { int i; int t; @@ -489,7 +489,7 @@ static int check_times(int l) return 0; } -static void stop_log(int sig) +static void stop_log(int sig __attribute__ ((unused))) { stop = 1; } -- 2.40.1