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.orgReview at https://gerrit.osmocom.org/4712 cosmetic: guard dead coded with ifdef Since currently osmux is not available we decided to lock down the respective VTY command with an early return CMD_WARNING, making the code after this line unreachable. Guard the dead code with an ifdef This fixes CID 178648 Change-Id: I2ad9579453f52fe129cf120801a2efa19a26304e --- M src/libosmo-mgcp/mgcp_vty.c 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/12/4712/1 diff --git a/src/libosmo-mgcp/mgcp_vty.c b/src/libosmo-mgcp/mgcp_vty.c index 7ff1fdd..a7d9e4a 100644 --- a/src/libosmo-mgcp/mgcp_vty.c +++ b/src/libosmo-mgcp/mgcp_vty.c @@ -1102,7 +1102,7 @@ * allow to turn it on yet. */ vty_out(vty, "OSMUX currently unavailable in this software version.%s", VTY_NEWLINE); return CMD_WARNING; - +#if 0 if (strcmp(argv[0], "on") == 0) g_cfg->osmux = OSMUX_USAGE_ON; else if (strcmp(argv[0], "only") == 0) @@ -1114,6 +1114,7 @@ } return CMD_SUCCESS; +#endif } DEFUN(cfg_mgcp_osmux_ip, -- To view, visit https://gerrit.osmocom.org/4712 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2ad9579453f52fe129cf120801a2efa19a26304e Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: dexter <pmaier at sysmocom.de>