cleanup, fix warnings

This commit is contained in:
Arvid Norberg
2012-02-15 10:57:49 +00:00
parent 3a9d7fc66d
commit 47781bf2c5
4 changed files with 3 additions and 10 deletions

View File

@@ -183,10 +183,7 @@ namespace libtorrent
default:
{
if (!is_digit(t))
{
int a = 0;
TORRENT_FAIL_BDECODE(errors::expected_value);
}
boost::int64_t len = t - '0';
start = parse_int(start, end, ':', len);