mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
various compiler warnings fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1153 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user