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:
@@ -773,11 +773,10 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
|
||||
file->name[2] == 'c' && file->name[3] == '\0')
|
||||
{
|
||||
/* .frm archive */
|
||||
char newpath[FN_REFLEN], *copy_of_path;
|
||||
char newpath[FN_REFLEN];
|
||||
MY_DIR *new_dirp;
|
||||
uint length;
|
||||
strxmov(newpath, org_path, "/", "arc", NullS);
|
||||
length= unpack_filename(newpath, newpath);
|
||||
(void) unpack_filename(newpath, newpath);
|
||||
if ((new_dirp = my_dir(newpath, MYF(MY_DONT_SORT))))
|
||||
{
|
||||
DBUG_PRINT("my",("Archive subdir found: %s", newpath));
|
||||
|
||||
Reference in New Issue
Block a user