MXS-1506: Remove unused MXS_UPSTREAM variables

The `error` variable was never used. Also added a more convenient typedef
for both the downstream and upstream functions and updated filter API
version.
This commit is contained in:
Markus Mäkelä
2018-04-04 09:14:18 +03:00
parent c70216390f
commit cc793b2151
4 changed files with 7 additions and 7 deletions

View File

@ -1279,14 +1279,12 @@ static void session_deliver_response(MXS_SESSION* session)
session->response.up.instance = NULL;
session->response.up.session = NULL;
session->response.up.clientReply = NULL;
session->response.up.error = NULL;
session->response.buffer = NULL;
}
ss_dassert(!session->response.up.instance);
ss_dassert(!session->response.up.session);
ss_dassert(!session->response.up.clientReply);
ss_dassert(!session->response.up.error);
ss_dassert(!session->response.buffer);
}