diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-07-27 05:12:30 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-07-27 05:12:30 +0000 |
commit | 7318d07f8950d3469d76537ce1d96f863085ba7c (patch) | |
tree | 361d3b09b28e6847784781c70323af5dab2745c3 /plugin_cpuinfo.c | |
parent | 616665a32d0e4eb368c6346168e91cfeda42583f (diff) | |
download | lcd4linux-7318d07f8950d3469d76537ce1d96f863085ba7c.tar.gz |
various compiler warnings fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1153 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_cpuinfo.c')
-rw-r--r-- | plugin_cpuinfo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin_cpuinfo.c b/plugin_cpuinfo.c index 0669c7c..193fc21 100644 --- a/plugin_cpuinfo.c +++ b/plugin_cpuinfo.c @@ -53,7 +53,7 @@ static HASH CPUinfo; static FILE *stream = NULL; -static int parse_cpuinfo(char *oid) +static int parse_cpuinfo(char __attribute__ ((unused)) * oid) { int age; @@ -101,8 +101,6 @@ static int parse_cpuinfo(char *oid) hash_put(&CPUinfo, key, val); } - /* to avoid compiler unused warning */ - oid = 0; #else |