fix some warnings
This commit is contained in:
@@ -416,6 +416,8 @@ namespace libtorrent
|
||||
std::vector<ip_interface> ret;
|
||||
#if defined TORRENT_BUILD_SIMULATOR
|
||||
|
||||
TORRENT_UNUSED(ec);
|
||||
|
||||
ip_interface wan;
|
||||
wan.interface_address = ios.get_ip();
|
||||
wan.netmask = address_v4::from_string("255.255.255.255");
|
||||
@@ -704,6 +706,8 @@ namespace libtorrent
|
||||
|
||||
#ifdef TORRENT_BUILD_SIMULATOR
|
||||
|
||||
TORRENT_UNUSED(ec);
|
||||
|
||||
ip_route r;
|
||||
r.destination = address_v4();
|
||||
r.netmask = address_v4::from_string("255.255.255.0");
|
||||
|
Reference in New Issue
Block a user