Commit 8971286a authored by Sergei Golubchik's avatar Sergei Golubchik

compiler warning

parent 2d0c579a
...@@ -1347,8 +1347,8 @@ inline_mysql_file_delete_with_symlink( ...@@ -1347,8 +1347,8 @@ inline_mysql_file_delete_with_symlink(
const char *name, const char *ext, myf flags) const char *name, const char *ext, myf flags)
{ {
int result; int result;
char fullname[FN_REFLEN]; char buf[FN_REFLEN];
fn_format(fullname, name, "", ext, MY_UNPACK_FILENAME | MY_APPEND_EXT); char *fullname= fn_format(buf, name, "", ext, MY_UNPACK_FILENAME | MY_APPEND_EXT);
#ifdef HAVE_PSI_FILE_INTERFACE #ifdef HAVE_PSI_FILE_INTERFACE
struct PSI_file_locker *locker; struct PSI_file_locker *locker;
PSI_file_locker_state state; PSI_file_locker_state state;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment