rspro_server: Fix Warnings about unused variables

Change-Id: Id8615062772c09d7396254fa5d1f42dd029e8a22
This commit is contained in:
Harald Welte 2019-03-31 15:13:09 +02:00
parent 4c37f66048
commit 35ded29788
1 changed files with 3 additions and 3 deletions

View File

@ -339,7 +339,7 @@ static void clnt_st_connected_bankd(struct osmo_fsm_inst *fi, uint32_t event, vo
{
struct rspro_client_conn *conn = fi->priv;
struct slotmaps *slotmaps = conn->srv->slotmaps;
const RsproPDU_t *rx = NULL;
const __attribute__((unused)) RsproPDU_t *rx = NULL;
struct slot_mapping *map, *map2;
switch (event) {
@ -397,7 +397,7 @@ static void clnt_st_connected_bankd(struct osmo_fsm_inst *fi, uint32_t event, vo
static void clnt_allstate_action(struct osmo_fsm_inst *fi, uint32_t event, void *data)
{
struct rspro_client_conn *conn = fi->priv;
//struct rspro_client_conn *conn = fi->priv;
switch (event) {
case CLNTC_E_TCP_DOWN:
@ -413,7 +413,7 @@ static void clnt_allstate_action(struct osmo_fsm_inst *fi, uint32_t event, void
static int server_client_fsm_timer_cb(struct osmo_fsm_inst *fi)
{
struct rspro_client_conn *conn = fi->priv;
//struct rspro_client_conn *conn = fi->priv;
switch (fi->T) {
case 1: