[PATCH] osmo-bsc[master]: compiler warnings: drop some unused variables

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Nov 27 21:36:14 UTC 2017


Review at  https://gerrit.osmocom.org/5044

compiler warnings: drop some unused variables

Change-Id: I840b0cd8ee3e7c521e7c9053a992deeb9ec22ff4
---
M src/libbsc/abis_om2000_vty.c
M src/libbsc/pcu_sock.c
2 files changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/44/5044/1

diff --git a/src/libbsc/abis_om2000_vty.c b/src/libbsc/abis_om2000_vty.c
index e1dd914..b55a6c4 100644
--- a/src/libbsc/abis_om2000_vty.c
+++ b/src/libbsc/abis_om2000_vty.c
@@ -424,7 +424,6 @@
 	"SuperChannel (Packet Abis)\n")
 {
 	struct gsm_bts *bts = vty->index;
-	struct con_group *cg;
 
 	if (bts->type != GSM_BTS_TYPE_RBS2000) {
 		vty_out(vty, "%% Command only works for RBS2000%s",
diff --git a/src/libbsc/pcu_sock.c b/src/libbsc/pcu_sock.c
index 40dd68d..9f1c80c 100644
--- a/src/libbsc/pcu_sock.c
+++ b/src/libbsc/pcu_sock.c
@@ -356,9 +356,6 @@
 static int pcu_rx_data_req(struct gsm_bts *bts, uint8_t msg_type,
 	struct gsm_pcu_if_data *data_req)
 {
-	uint8_t is_ptcch;
-	struct gsm_bts_trx *trx;
-	struct gsm_bts_trx_ts *ts;
 	struct msgb *msg;
 	char imsi_digit_buf[4];
 	uint32_t tlli = -1;

-- 
To view, visit https://gerrit.osmocom.org/5044
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I840b0cd8ee3e7c521e7c9053a992deeb9ec22ff4
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list