diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-11-19 09:13:38 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-12-04 10:41:51 +0100 |
commit | 2ae7541bcf93985302bc7efb2629e6f623ccfc64 (patch) | |
tree | d0b14c1dba4bffc2ae82f2d51f1f9ef4ebf7035a /mysys/hash.c | |
parent | 0d30423900dd3a384f061c32f6ec3de9c11cdde9 (diff) | |
download | mariadb-git-2ae7541bcf93985302bc7efb2629e6f623ccfc64.tar.gz |
cleanup: s/const CHARSET_INFO/CHARSET_INFO/
as CHARSET_INFO is already const, using const on it
is redundant and results in compiler warnings (on Windows)
Diffstat (limited to 'mysys/hash.c')
-rw-r--r-- | mysys/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/hash.c b/mysys/hash.c index a501f7d38f7..dc03ea9a4dc 100644 --- a/mysys/hash.c +++ b/mysys/hash.c @@ -40,7 +40,7 @@ static void movelink(HASH_LINK *array,uint pos,uint next_link,uint newlink); static int hashcmp(const HASH *hash, HASH_LINK *pos, const uchar *key, size_t length); -my_hash_value_type my_hash_sort(const CHARSET_INFO *cs, const uchar *key, +my_hash_value_type my_hash_sort(CHARSET_INFO *cs, const uchar *key, size_t length) { ulong nr1= 1, nr2= 4; |