fix some warnings

This commit is contained in:
arvidn
2015-08-21 14:03:16 +02:00
parent 26b721973f
commit d8065b8941
2 changed files with 7 additions and 0 deletions

View File

@@ -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");