Fix various compiler warnings all over the code
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c
index f2e68aa..1a2e095 100644
--- a/openbsc/src/abis_nm.c
+++ b/openbsc/src/abis_nm.c
@@ -2013,7 +2013,6 @@
{
struct gsm_bts *bts = ts->trx->bts;
struct abis_om_hdr *oh;
- u_int16_t arfcn = htons(ts->trx->arfcn);
u_int8_t zero = 0x00;
struct msgb *msg = nm_msgb_alloc();
u_int8_t len = 2 + 2;
@@ -2179,7 +2178,7 @@
{
struct abis_om_hdr *oh;
- DEBUGP(DNM, "PEFORM TEST\n");
+ DEBUGP(DNM, "PEFORM TEST %s\n", get_value_string(test_names, test_nr));
if (!msg)
msg = nm_msgb_alloc();