1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Some fixes to avoid compiler warnings.

mysql-test/my_manage.c:
  Avoid warning: i not used in case of Windows.
mysql-test/mysql_test_run_new.c:
  Removed unused variable.
sql/item_func.cc:
  Removed unused variables.
strings/ctype-simple.c:
  Added cast.
strings/ctype-ucs2.c:
  Added cast.
This commit is contained in:
unknown
2005-10-18 18:03:26 +03:00
parent 3867a5db37
commit c0eae8f0a1
5 changed files with 6 additions and 5 deletions

View File

@ -867,7 +867,7 @@ int my_longlong10_to_str_8bit(CHARSET_INFO *cs __attribute__((unused)),
while (long_val != 0)
{
long quo= long_val/10;
*--p = '0' + (long_val - quo*10);
*--p = (char) ('0' + (long_val - quo*10));
long_val= quo;
}