From 10456ef16b0ef9d2288309127c1b6f356ace3f0b Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 11 Apr 2009 16:31:52 +0000 Subject: make compiler a bit happier Signed-off-by: Michael Krelin --- diff --git a/lib/discovery.cc b/lib/discovery.cc index 26f3eed..b4ed3b6 100644 --- a/lib/discovery.cc +++ b/lib/discovery.cc @@ -585,8 +585,8 @@ namespace opkele { } } - int unknown_encoding(const XML_Char *n,XML_Encoding *i) { - for(int ii=0;ii < sizeof(i->map)/sizeof(i->map[0]);++ii) + int unknown_encoding(const XML_Char* /* n */,XML_Encoding *i) { + for(unsigned int ii=0;ii < sizeof(i->map)/sizeof(i->map[0]);++ii) i->map[ii] = ii; i->convert = 0; i->release = 0; return XML_STATUS_OK; -- cgit v0.9.0.2