Browse Source

fix for picky compiler complaining about no return

miguelfreitas
Miguel Freitas 10 years ago
parent
commit
4a365f68b4
  1. 3
      libtorrent/src/storage.cpp
  2. 1
      libtorrent/src/torrent.cpp

3
libtorrent/src/storage.cpp

@ -420,7 +420,7 @@ namespace libtorrent @@ -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 @@ -463,6 +463,7 @@ namespace libtorrent
m_db.RepairDB();
}
}
return -1;
}
int default_storage::write(

1
libtorrent/src/torrent.cpp

@ -6314,6 +6314,7 @@ namespace libtorrent @@ -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)

Loading…
Cancel
Save