pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/38807?usp=email )
Change subject: ipaccess: reduce scope of ka_fsm variable ......................................................................
ipaccess: reduce scope of ka_fsm variable
Change-Id: I8236b1fef4d90275678bf80d866c84402c20840c --- M src/input/ipaccess.c 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/07/38807/1
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c index cab812c..dc523ef 100644 --- a/src/input/ipaccess.c +++ b/src/input/ipaccess.c @@ -872,11 +872,10 @@ /* special handling for IPA CCM. */ if (hh->proto == IPAC_PROTO_IPACCESS) { uint8_t msg_type = *(msg->l2h); - struct osmo_fsm_inst* ka_fsm = NULL;
/* peek the pong for our keepalive fsm */ if (line && msg_type == IPAC_MSGT_PONG) { - ka_fsm = ipaccess_line_ts(link->ofd, line)->driver.ipaccess.ka_fsm; + struct osmo_fsm_inst *ka_fsm = ipaccess_line_ts(link->ofd, line)->driver.ipaccess.ka_fsm; ipa_keepalive_fsm_pong_received(ka_fsm); }