aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-03-20 20:35:06 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-03-20 20:35:06 +0100
commit35e20583480d23b003073d6a520d9ae145b349cd (patch)
tree5c90d33d3f02dc6ec9bf914abea06746cad4d92f
parenta008b17f2e4a10c98b5eba6b723de7f6370571e4 (diff)
hnbgw_vty.c: Drop unusued variables
-rw-r--r--src/hnbgw_vty.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hnbgw_vty.c b/src/hnbgw_vty.c
index 84a5f01..f2e51d4 100644
--- a/src/hnbgw_vty.c
+++ b/src/hnbgw_vty.c
@@ -116,11 +116,10 @@ DEFUN(show_cnlink, show_cnlink_cmd, "show cnlink",
{
struct osmo_ss7_route *rt;
struct osmo_ss7_instance *ss7 = osmo_sccp_get_ss7(g_hnb_gw->sccp.client);
- int i;
#define GUARD(STR) \
STR ? STR : "", \
STR ? ":" : ""
-
+
vty_out(vty, "IuCS: %s <->",
osmo_sccp_user_name(g_hnb_gw->sccp.cnlink->sccp_user));
vty_out(vty, " %s%s%s%s",
@@ -223,7 +222,6 @@ DEFUN(show_hnb, show_hnb_cmd, "show hnb all", SHOW_STR "Display information abou
DEFUN(show_one_hnb, show_one_hnb_cmd, "show hnb NAME ", SHOW_STR "Display information about a HNB")
{
struct hnb_context *hnb;
- int found = 0;
const char *identity_info = argv[0];
if (llist_empty(&g_hnb_gw->hnb_list)) {