Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
silenced a warning by complete init of members of File::MapBase
Browse files Browse the repository at this point in the history
finnschiermer committed Oct 30, 2023
1 parent d80dcaa commit c8aa42f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/realm/util/file.hpp
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit c8aa42f

Please sign in to comment.