Removed unused fields in field class
This commit is contained in:
parent
c7e19ce667
commit
20d8f4e3f7
|
@ -352,12 +352,7 @@ namespace libtorrent
|
|||
#endif // TORRENT_WINDOWS
|
||||
|
||||
int m_open_mode;
|
||||
#if defined TORRENT_WINDOWS || defined TORRENT_LINUX
|
||||
mutable int m_sector_size;
|
||||
#endif
|
||||
#if defined TORRENT_WINDOWS
|
||||
mutable int m_cluster_size;
|
||||
|
||||
static bool has_manage_volume_privs;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1263,9 +1263,6 @@ namespace libtorrent
|
|||
file::file()
|
||||
: m_file_handle(INVALID_HANDLE_VALUE)
|
||||
, m_open_mode(0)
|
||||
#if defined TORRENT_WINDOWS || defined TORRENT_LINUX
|
||||
, m_sector_size(0)
|
||||
#endif
|
||||
{
|
||||
#ifdef TORRENT_DISK_STATS
|
||||
m_file_id = 0;
|
||||
|
@ -1275,9 +1272,6 @@ namespace libtorrent
|
|||
file::file(std::string const& path, int mode, error_code& ec)
|
||||
: m_file_handle(INVALID_HANDLE_VALUE)
|
||||
, m_open_mode(0)
|
||||
#if defined TORRENT_WINDOWS || defined TORRENT_LINUX
|
||||
, m_sector_size(0)
|
||||
#endif
|
||||
{
|
||||
#ifdef TORRENT_DISK_STATS
|
||||
m_file_id = 0;
|
||||
|
@ -1566,9 +1560,6 @@ typedef struct _FILE_ALLOCATED_RANGE_BUFFER {
|
|||
#ifdef TORRENT_DISK_STATS
|
||||
m_file_id = 0;
|
||||
#endif
|
||||
#if defined TORRENT_WINDOWS || defined TORRENT_LINUX
|
||||
m_sector_size = 0;
|
||||
#endif
|
||||
|
||||
if (!is_open()) return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue