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:
michael
2011-07-27 05:12:30 +00:00
parent 616665a32d
commit 7318d07f89
13 changed files with 39 additions and 60 deletions

View File

@@ -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