From: Thomas Graf Date: Sat, 3 Jul 2010 13:17:04 +0000 (+0200) Subject: Fix compile warning in utils.c X-Git-Tag: libnl2_0~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fa04772ab1e092fce34b658d6cc4e6f6b59be1d;p=thirdparty%2Flibnl.git Fix compile warning in utils.c --- 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); }