fix some compiler warnings
This commit is contained in:
@@ -293,8 +293,8 @@ namespace libtorrent
|
||||
if (ptr == 0 || expect2 == 0 || strcmp(expect2, ptr)) { handle_error(invalid_response, h); return; }
|
||||
|
||||
int result = 0;
|
||||
char const* message = 0;
|
||||
float version = 3.0f;
|
||||
// char const* message = 0;
|
||||
// float version = 3.0f;
|
||||
|
||||
for(;;)
|
||||
{
|
||||
@@ -324,11 +324,11 @@ namespace libtorrent
|
||||
}
|
||||
else if (strcmp("MESSAGE", name) == 0)
|
||||
{
|
||||
message = ptr;
|
||||
// message = ptr;
|
||||
}
|
||||
else if (strcmp("VERSION", name) == 0)
|
||||
{
|
||||
version = float(atof(ptr));
|
||||
// version = float(atof(ptr));
|
||||
}
|
||||
else if (strcmp("VALUE", name) == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user