* Applied patch from Diego 'Flameeyes' Petteno <flameeyes@gentoo.org>

that adds the "unused" attribute to some function parameters and minor
cleanups of configure.ac.

* Added inttypes.h to command_scheduler.h.

* Bumped to version 0.8.5/0.4.5.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@634 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-02-05 01:43:38 +00:00
parent 8b934623d4
commit 126bb511b8
10 changed files with 145 additions and 18 deletions
+5 -5
View File
@@ -71,12 +71,12 @@ apply_working_directory(const std::string& path) {
}
void
apply_hash_read_ahead(Control* m, int arg) {
apply_hash_read_ahead(__UNUSED Control* m, int arg) {
torrent::set_hash_read_ahead(arg << 20);
}
void
apply_hash_interval(Control* m, int arg) {
apply_hash_interval(__UNUSED Control* m, int arg) {
torrent::set_hash_interval(arg * 1000);
}
@@ -107,7 +107,7 @@ apply_load_start(Control* m, const std::string& arg) {
}
void
apply_stop_untied(Control* m, const std::string& arg) {
apply_stop_untied(Control* m, __UNUSED const std::string& arg) {
core::Manager::DListItr itr = m->core()->download_list().begin();
while ((itr = std::find_if(itr, m->core()->download_list().end(),
@@ -126,7 +126,7 @@ apply_stop_untied(Control* m, const std::string& arg) {
}
void
apply_remove_untied(Control* m, const std::string& arg) {
apply_remove_untied(Control* m, __UNUSED const std::string& arg) {
core::Manager::DListItr itr = m->core()->download_list().begin();
while ((itr = std::find_if(itr, m->core()->download_list().end(),
@@ -147,7 +147,7 @@ apply_remove_untied(Control* m, const std::string& arg) {
}
void
apply_encoding_list(Control* m, const std::string& arg) {
apply_encoding_list(__UNUSED Control* m, const std::string& arg) {
torrent::encoding_list()->push_back(arg);
}