summaryrefslogtreecommitdiff
path: root/sql/derror.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-02-25 16:53:22 +0200
committermonty@mysql.com <>2005-02-25 16:53:22 +0200
commit0a6b7aedb2cec716b98349765bfa369354787b25 (patch)
tree9b48fa5a8476d449ea4512314b86f9704517cd0c /sql/derror.cc
parentcd78e701a5c83394c360f6ba9a1783c7b950e8ee (diff)
downloadmariadb-git-0a6b7aedb2cec716b98349765bfa369354787b25.tar.gz
Remove compiler warnings and remove not used variables
(Found during build process)
Diffstat (limited to 'sql/derror.cc')
-rw-r--r--sql/derror.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/derror.cc b/sql/derror.cc
index 4690e76d0e3..bee818a14c1 100644
--- a/sql/derror.cc
+++ b/sql/derror.cc
@@ -78,7 +78,6 @@ static bool read_texts(const char *file_name,const char ***point,
char name[FN_REFLEN];
const char *buff;
uchar head[32],*pos;
- CHARSET_INFO *cset; // For future
DBUG_ENTER("read_texts");
*point=0; // If something goes wrong
@@ -104,7 +103,7 @@ Please install the latest version of this file.",name);
}
/* TODO: Convert the character set to server system character set */
- if (!(cset= get_charset(head[30],MYF(MY_WME))))
+ if (!get_charset(head[30],MYF(MY_WME)))
{
sql_print_error("Character set #%d is not supported for messagefile '%s'",
(int)head[30],name);