silence some warnings on msvc

This commit is contained in:
Arvid Norberg
2015-04-27 02:21:12 +00:00
parent f97168241f
commit 2fff222235
26 changed files with 126 additions and 31 deletions

View File

@@ -68,7 +68,7 @@ namespace libtorrent
return -1;
}
#define TORRENT_FAIL_BDECODE(code) do { ec = make_error_code(code); return fail(error_pos, stack, start, orig_start); } while (false)
#define TORRENT_FAIL_BDECODE(code) do { ec = make_error_code(code); return fail(error_pos, stack, start, orig_start); } TORRENT_WHILE_0
bool numeric(char c) { return c >= '0' && c <= '9'; }