diff --git a/AK/MappedFile.cpp b/AK/MappedFile.cpp index d3783a7fd6..3f3afb8691 100644 --- a/AK/MappedFile.cpp +++ b/AK/MappedFile.cpp @@ -24,8 +24,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include +#include #include #include #include @@ -38,7 +38,6 @@ namespace AK { MappedFile::MappedFile(const StringView& file_name) { - m_size = PAGE_SIZE; int fd = open_with_path_length(file_name.characters_without_null_termination(), file_name.length(), O_RDONLY | O_CLOEXEC, 0); if (fd == -1) {