aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_cpuinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin_cpuinfo.c')
-rw-r--r--plugin_cpuinfo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugin_cpuinfo.c b/plugin_cpuinfo.c
index 76e7233..0e4b647 100644
--- a/plugin_cpuinfo.c
+++ b/plugin_cpuinfo.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_cpuinfo.c 1079 2010-01-15 21:44:04Z volker $
+/* $Id: plugin_cpuinfo.c 1153 2011-07-27 05:12:30Z michael $
* $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/plugin_cpuinfo.c $
*
* plugin for /proc/cpuinfo parsing
@@ -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