diff --git a/include/libtorrent/file.hpp b/include/libtorrent/file.hpp index 224ff01e5..c9c625d50 100644 --- a/include/libtorrent/file.hpp +++ b/include/libtorrent/file.hpp @@ -99,7 +99,6 @@ namespace libtorrent { private: #ifdef TORRENT_WINDOWS HANDLE m_handle; - int m_inode; WIN32_FIND_DATAW m_fd; #else DIR* m_handle; diff --git a/src/file.cpp b/src/file.cpp index b232e160d..6d8c6d6f3 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -403,7 +403,6 @@ static_assert(!(open_mode::sparse & open_mode::attribute_mask), "internal flags if (err != ERROR_NO_MORE_FILES) ec.assign(err, system_category()); } - ++m_inode; #else struct dirent* de; errno = 0;