Add missing {} to silence a compiler warning
This is not affecting correctness; delete NULL is a valid operation.
This commit is contained in:
parent
e634fdcd5b
commit
eb389d5c39
@ -4130,8 +4130,10 @@ void spider_db_discard_multiple_result(
|
|||||||
if (!conn->db_conn->cmp_request_key_to_snd(&request_key))
|
if (!conn->db_conn->cmp_request_key_to_snd(&request_key))
|
||||||
break;
|
break;
|
||||||
if ((result = conn->db_conn->use_result(&request_key, &error_num)))
|
if ((result = conn->db_conn->use_result(&request_key, &error_num)))
|
||||||
|
{
|
||||||
result->free_result();
|
result->free_result();
|
||||||
delete result;
|
delete result;
|
||||||
|
}
|
||||||
} while (!conn->db_conn->next_result());
|
} while (!conn->db_conn->next_result());
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user