summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-07-03 15:17:04 +0200
committerThomas Graf <tgraf@suug.ch>2010-07-03 15:17:04 +0200
commit0fa04772ab1e092fce34b658d6cc4e6f6b59be1d (patch)
treec27d1246442c295293706489d5e9343cfd453ee4
parent256d7e723c0ff402422d3501866e9301b3f64c0f (diff)
downloadandroid_external_libnl-0fa04772ab1e092fce34b658d6cc4e6f6b59be1d.tar.gz
android_external_libnl-0fa04772ab1e092fce34b658d6cc4e6f6b59be1d.tar.bz2
android_external_libnl-0fa04772ab1e092fce34b658d6cc4e6f6b59be1d.zip
Fix compile warning in utils.c
-rw-r--r--lib/utils.c2
1 files changed, 1 insertions, 1 deletions
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);
}