fix for picky compiler complaining about no return

This commit is contained in:
Miguel Freitas 2014-12-24 17:53:56 -02:00
parent ad6b05d97c
commit 4a365f68b4
2 changed files with 3 additions and 1 deletions

View File

@ -420,7 +420,7 @@ namespace libtorrent
m_db.RepairDB(); m_db.RepairDB();
} }
} }
return -1;
} }
size_type default_storage::physical_offset(int slot, int offset) size_type default_storage::physical_offset(int slot, int offset)
@ -463,6 +463,7 @@ namespace libtorrent
m_db.RepairDB(); m_db.RepairDB();
} }
} }
return -1;
} }
int default_storage::write( int default_storage::write(

View File

@ -6314,6 +6314,7 @@ namespace libtorrent
bool torrent::rename_file(int index, std::string const& name) bool torrent::rename_file(int index, std::string const& name)
{ {
return false;
} }
void torrent::move_storage(std::string const& save_path, int flags) void torrent::move_storage(std::string const& save_path, int flags)