This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
dexter gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/4746
mgcp: remove unused variable
The function handle_error asserts mgcp_ctx->conn to be non null,
but it does not access it otherwise.
remove unused variable conn
Change-Id: I09851c957395d1ddb2f9471b99ffc091bc250404
---
M src/osmo-bsc/osmo_bsc_mgcp.c
1 file changed, 0 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/46/4746/1
diff --git a/src/osmo-bsc/osmo_bsc_mgcp.c b/src/osmo-bsc/osmo_bsc_mgcp.c
index aa008a8..f0c31df 100644
--- a/src/osmo-bsc/osmo_bsc_mgcp.c
+++ b/src/osmo-bsc/osmo_bsc_mgcp.c
@@ -151,12 +151,8 @@
static void handle_error(struct mgcp_ctx *mgcp_ctx, enum int_cause_code cause)
{
struct osmo_fsm_inst *fi;
- struct osmo_bsc_sccp_con *conn;
OSMO_ASSERT(mgcp_ctx);
- conn = mgcp_ctx->conn;
- OSMO_ASSERT(conn);
-
fi = mgcp_ctx->fsm;
OSMO_ASSERT(fi);
--
To view, visit https://gerrit.osmocom.org/4746
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I09851c957395d1ddb2f9471b99ffc091bc250404
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>