From 03a80e20f7ccb8b3215d08945fc3923010acada1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Wed, 21 Mar 2018 16:15:02 +0200 Subject: [PATCH] pfs_os_file_read_no_error_handling_int_fd_func(): Remove a variable --- storage/innobase/include/os0file.ic | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/innobase/include/os0file.ic b/storage/innobase/include/os0file.ic index 6cb67af94ca..a7e4f2695da 100644 --- a/storage/innobase/include/os0file.ic +++ b/storage/innobase/include/os0file.ic @@ -372,9 +372,9 @@ pfs_os_file_read_no_error_handling_int_fd_func( locker, n, __FILE__, __LINE__); } - ulint fulfilled; + bool success = DB_SUCCESS == os_file_read_no_error_handling_func( - type, OS_FILE_FROM_FD(file), buf, offset, n, &fulfilled); + type, OS_FILE_FROM_FD(file), buf, offset, n, NULL); if (locker != NULL) { PSI_FILE_CALL(end_file_wait)(locker, n);