Clean up.

This commit is contained in:
VilhoRaatikka
2014-09-14 10:17:09 +03:00
parent 8e5d852dde
commit c2847c7ddb

View File

@ -561,7 +561,6 @@ int gw_read_client_event(
if (nbytes_read < 3 || nbytes_read < MYSQL_GET_PACKET_LEN(data))
{
size_t nread = MYSQL_GET_PACKET_LEN(data);
rc = 0;
goto return_rc;
}
@ -581,7 +580,6 @@ int gw_read_client_event(
if (nbytes_read < 3 || nbytes_read < MYSQL_GET_PACKET_LEN(data)+4)
{
size_t nread = MYSQL_GET_PACKET_LEN(data);
dcb->dcb_readqueue = gwbuf_append(dcb->dcb_readqueue, read_buffer);
rc = 0;
goto return_rc;