This commit is contained in:
VilhoRaatikka 2014-06-30 13:43:25 +03:00
parent 862d504a74
commit 3e3c1af211
2 changed files with 0 additions and 7 deletions

View File

@ -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 */

View File

@ -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);