From 0fa04772ab1e092fce34b658d6cc4e6f6b59be1d Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Sat, 3 Jul 2010 15:17:04 +0200 Subject: [PATCH] Fix compile warning in utils.c --- lib/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.c b/lib/utils.c index 4007bee..e1fdae1 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -316,7 +316,7 @@ static void __init get_psched_settings(void) uint32_t tick, us; /* the file contains 4 hexadecimals, but we just use the first two of them */ - int r = fscanf(fd, "%08x %08x", &tick, &us); + fscanf(fd, "%08x %08x", &tick, &us); ticks_per_usec = (double)tick/(double)us; fclose(fd); }