summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <bar@gw.udmsearch.izhnet.ru>2002-03-29 16:06:06 +0400
committerunknown <bar@gw.udmsearch.izhnet.ru>2002-03-29 16:06:06 +0400
commit4fd893e5d3a0ff652ab21dcdb748f7aad4d7ebdf (patch)
treed444c80b3c0ba33ab823c67eb8b92c2d59ab58e7 /mysys
parent48f993484ac510eff44314c18afd880f656c3f02 (diff)
downloadmariadb-git-4fd893e5d3a0ff652ab21dcdb748f7aad4d7ebdf.tar.gz
charset<->unicode conversion tables and routines
some warnings fixes include/m_ctype.h: New charset conversion fields in CHARSET_INFO mysys/hash.c: Fix for "unused argument" warning strings/ctype-big5.c: Fix for "unused argument" warning strings/ctype-czech.c: Fix for "unused argument" warning strings/ctype-euc_kr.c: Fix for "unused argument" warning strings/ctype-gb2312.c: Fix for "unused argument" warning strings/ctype-gbk.c: Fix for "unused argument" warning strings/ctype-latin1_de.c: Fix for "unused argument" warning strings/ctype-simple.c: 8bit<->unicode convertion routines strings/ctype-sjis.c: Fix for "unused argument" warning strings/ctype-tis620.c: Fix for "unused argument" warning strings/ctype-ujis.c: Fix for "unused argument" warning strings/ctype-utf8.c: Fix for "unused argument" warning strings/ctype.c: 8bit <-> unicode conversion tables
Diffstat (limited to 'mysys')
-rw-r--r--mysys/hash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/hash.c b/mysys/hash.c
index 3faaff1f169..d7d4cf83d55 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -114,7 +114,8 @@ static uint hash_rec_mask(HASH *hash,HASH_LINK *pos,uint buffmax,
/* Calc hashvalue for a key */
-static uint calc_hashnr(CHARSET_INFO *cs, const byte *key,uint length)
+static uint calc_hashnr(CHARSET_INFO *cs __attribute__((unused)),
+ const byte *key,uint length)
{
register uint nr=1, nr2=4;
while (length--)