Skip to content

Commit

Permalink
compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Mar 16, 2017
1 parent 2d0c579 commit 8971286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/mysql/psi/mysql_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -1347,8 +1347,8 @@ inline_mysql_file_delete_with_symlink(
const char *name, const char *ext, myf flags)
{
int result;
char fullname[FN_REFLEN];
fn_format(fullname, name, "", ext, MY_UNPACK_FILENAME | MY_APPEND_EXT);
char buf[FN_REFLEN];
char *fullname= fn_format(buf, name, "", ext, MY_UNPACK_FILENAME | MY_APPEND_EXT);
#ifdef HAVE_PSI_FILE_INTERFACE
struct PSI_file_locker *locker;
PSI_file_locker_state state;
Expand Down

0 comments on commit 8971286

Please sign in to comment.