1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fix compiler warnings that breaks build (-Werror).

This commit is contained in:
unknown
2012-09-28 09:54:43 +02:00
parent 352d7cad1b
commit e290d2bed5

View File

@@ -568,8 +568,7 @@ ignore_db_dirs_process_additions()
if (skip_ignored_dir_check)
{
char buff[FN_REFLEN];
uint buff_len;
buff_len= tablename_to_filename(dir->str, buff, sizeof(buff));
(void) tablename_to_filename(dir->str, buff, sizeof(buff));
skip_ignored_dir_check= strcmp(dir->str, buff) != 0;
}
}