laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-bsc/+/34618?usp=email )
Change subject: Drop unused local var
......................................................................
Drop unused local var
Change-Id: I6da89b8861c0bd17fc011b55d5f4979ad6787f80
---
M src/osmo-bsc/bsc_vty.c
1 file changed, 9 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index 02f708e..d758832 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -764,14 +764,12 @@
struct gsm_subscriber_connection *conn;
struct gsm_network *net = gsmnet_from_vty(vty);
bool no_conns = true;
- unsigned int count = 0;
vty_out(vty, "Active subscriber connections: %s", VTY_NEWLINE);
llist_for_each_entry(conn, &net->subscr_conns, entry) {
dump_one_subscr_conn(vty, conn);
no_conns = false;
- count++;
}
if (no_conns)
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bsc/+/34618?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I6da89b8861c0bd17fc011b55d5f4979ad6787f80
Gerrit-Change-Number: 34618
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged