forked from premiere/premiere-libtorrent
fix warning
This commit is contained in:
parent
a42f9e0c63
commit
3018546b37
|
@ -1305,7 +1305,9 @@ int main(int argc, char* argv[])
|
|||
settings.set_int(settings_pack::choking_algorithm, settings_pack::rate_based_choker);
|
||||
|
||||
int refresh_delay = 500;
|
||||
#ifndef TORRENT_DISABLE_DHT
|
||||
bool start_dht = true;
|
||||
#endif
|
||||
bool rate_limit_locals = false;
|
||||
|
||||
std::deque<std::string> events;
|
||||
|
@ -1402,7 +1404,9 @@ int main(int argc, char* argv[])
|
|||
case 't': poll_interval = atoi(arg); break;
|
||||
case 'F': refresh_delay = atoi(arg); break;
|
||||
case 'H':
|
||||
#ifndef TORRENT_DISABLE_DHT
|
||||
start_dht = false;
|
||||
#endif
|
||||
settings.set_bool(settings_pack::enable_dht, false);
|
||||
--i;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue