mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Remove compiler warnings and remove not used variables
(Found during build process)
This commit is contained in:
@@ -332,13 +332,13 @@ static int create_sys_files(struct languages *lang_head,
|
||||
head[30]= csnum;
|
||||
|
||||
my_fseek(to, 0l, MY_SEEK_SET, MYF(0));
|
||||
if (my_fwrite(to, head, HEADER_LENGTH, MYF(MY_WME | MY_FNABP)))
|
||||
if (my_fwrite(to, (byte*) head, HEADER_LENGTH, MYF(MY_WME | MY_FNABP)))
|
||||
goto err;
|
||||
|
||||
for (i= 0; i < row_count; i++)
|
||||
{
|
||||
int2store(head, file_pos[i]);
|
||||
if (my_fwrite(to, head, 2, MYF(MY_WME | MY_FNABP)))
|
||||
if (my_fwrite(to, (byte*) head, 2, MYF(MY_WME | MY_FNABP)))
|
||||
goto err;
|
||||
}
|
||||
my_fclose(to, MYF(0));
|
||||
|
||||
Reference in New Issue
Block a user