Clean up
This commit is contained in:
parent
862d504a74
commit
3e3c1af211
@ -754,7 +754,6 @@ static int gw_error_backend_event(DCB *dcb)
|
||||
void* rsession;
|
||||
ROUTER_OBJECT* router;
|
||||
ROUTER* router_instance;
|
||||
int rc = 0;
|
||||
GWBUF* errbuf;
|
||||
bool succp;
|
||||
|
||||
@ -909,7 +908,6 @@ gw_backend_hangup(DCB *dcb)
|
||||
void* rsession;
|
||||
ROUTER_OBJECT* router;
|
||||
ROUTER* router_instance;
|
||||
int rc = 0;
|
||||
bool succp;
|
||||
GWBUF* errbuf;
|
||||
|
||||
@ -1228,7 +1226,6 @@ static GWBUF* process_response_data (
|
||||
while (nbytes_to_process != 0)
|
||||
{
|
||||
mysql_server_cmd_t srvcmd;
|
||||
GWBUF* sparebuf;
|
||||
bool succp;
|
||||
|
||||
srvcmd = protocol_get_srv_command(p, false);
|
||||
@ -1285,8 +1282,6 @@ static GWBUF* process_response_data (
|
||||
*/
|
||||
else /*< nbytes_left < nbytes_to_process */
|
||||
{
|
||||
size_t len = GWBUF_LENGTH(readbuf);
|
||||
|
||||
nbytes_to_process -= nbytes_left;
|
||||
|
||||
/** Move the prefix of the buffer to outbuf from redbuf */
|
||||
|
@ -1290,7 +1290,6 @@ return_rc:
|
||||
static int gw_error_client_event(
|
||||
DCB* dcb)
|
||||
{
|
||||
int rc;
|
||||
SESSION* session;
|
||||
|
||||
CHK_DCB(dcb);
|
||||
@ -1363,7 +1362,6 @@ gw_client_close(DCB *dcb)
|
||||
static int
|
||||
gw_client_hangup_event(DCB *dcb)
|
||||
{
|
||||
int rc;
|
||||
SESSION* session;
|
||||
|
||||
CHK_DCB(dcb);
|
||||
|
Loading…
x
Reference in New Issue
Block a user