diff --git a/libtorrent/src/storage.cpp b/libtorrent/src/storage.cpp index f2864a10..324646e7 100644 --- a/libtorrent/src/storage.cpp +++ b/libtorrent/src/storage.cpp @@ -420,7 +420,7 @@ namespace libtorrent m_db.RepairDB(); } } - + return -1; } size_type default_storage::physical_offset(int slot, int offset) @@ -463,6 +463,7 @@ namespace libtorrent m_db.RepairDB(); } } + return -1; } int default_storage::write( diff --git a/libtorrent/src/torrent.cpp b/libtorrent/src/torrent.cpp index 7e5e7569..ca62c642 100644 --- a/libtorrent/src/torrent.cpp +++ b/libtorrent/src/torrent.cpp @@ -6314,6 +6314,7 @@ namespace libtorrent bool torrent::rename_file(int index, std::string const& name) { + return false; } void torrent::move_storage(std::string const& save_path, int flags)