pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/29780 )
Change subject: gscon_ensure_mgw_endpoint(): Set mgw_enpoint ptr to NULL not needed ......................................................................
gscon_ensure_mgw_endpoint(): Set mgw_enpoint ptr to NULL not needed
The condition prior to this conditional branch already asserts the var is NULL.
Change-Id: I94c9532045c657fc07e4ad53d567847915bae367 --- M src/osmo-bsc/bsc_subscr_conn_fsm.c 1 file changed, 0 insertions(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c index 2a4e387..30a7eae 100644 --- a/src/osmo-bsc/bsc_subscr_conn_fsm.c +++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c @@ -700,7 +700,6 @@ if (!mgcp_client) { LOGPFSML(conn->fi, LOGL_ERROR, "cannot ensure MGW endpoint -- no MGW configured, check configuration!\n"); - conn->user_plane.mgw_endpoint = NULL; return NULL; } }