diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-07-13 15:13:24 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-07-13 15:13:24 +0200 |
commit | 36519b8a830204f45ec4693c89b6bdb8c9c6b79b (patch) | |
tree | c8cbe363e13614ea2d27e4b0563690259e38355c /strings | |
parent | 104b16bca0dc0a0327cb344755879d6fa7af17cd (diff) | |
download | mariadb-git-36519b8a830204f45ec4693c89b6bdb8c9c6b79b.tar.gz |
Fix compiler warning - using "const" twice for CHARSET_INFO.
CHARSET_INFO is already typedef'ed as "const" strĂșcture, thus "const CHARSET_INFO" generates multiple type modifier warning.
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/strings/ctype.c b/strings/ctype.c index adff69ad680..e717dce9b38 100644 --- a/strings/ctype.c +++ b/strings/ctype.c @@ -447,9 +447,9 @@ my_charset_is_ascii_compatible(CHARSET_INFO *cs) static uint32 my_convert_internal(char *to, uint32 to_length, - const CHARSET_INFO *to_cs, + CHARSET_INFO *to_cs, const char *from, uint32 from_length, - const CHARSET_INFO *from_cs, uint *errors) + CHARSET_INFO *from_cs, uint *errors) { int cnvres; my_wc_t wc; @@ -517,9 +517,9 @@ outp: */ uint32 -my_convert(char *to, uint32 to_length, const CHARSET_INFO *to_cs, +my_convert(char *to, uint32 to_length, CHARSET_INFO *to_cs, const char *from, uint32 from_length, - const CHARSET_INFO *from_cs, uint *errors) + CHARSET_INFO *from_cs, uint *errors) { uint32 length, length2; /* |