diff --git a/src/realm/util/file.hpp b/src/realm/util/file.hpp index e98526d614c..e77984f4075 100644 --- a/src/realm/util/file.hpp +++ b/src/realm/util/file.hpp @@ -656,9 +656,9 @@ class File { mutable size_t m_size = 0; size_t m_reservation_size = 0; size_t m_offset = 0; - FileDesc m_fd; + FileDesc m_fd = -1; AccessMode m_access_mode = access_ReadOnly; - std::string m_path = "gylle"; + std::string m_path; MapBase() = default; ~MapBase() noexcept;