laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/32104 )
(
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: lc15: Remove unused warning ......................................................................
lc15: Remove unused warning
l1_if.c: In function ‘activate_rf_compl_cb’: l1_if.c:1251:22: error: unused variable ‘i’ [-Werror=unused-variable] 1251 | unsigned int i; | ^
Change-Id: I23270dfe6779321e514c71184b3c71f52a9b4c4a --- M src/osmo-bts-lc15/l1_if.c 1 file changed, 14 insertions(+), 1 deletion(-)
Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, approved Jenkins Builder: Verified
diff --git a/src/osmo-bts-lc15/l1_if.c b/src/osmo-bts-lc15/l1_if.c index 7af3be6..3d6d90e 100644 --- a/src/osmo-bts-lc15/l1_if.c +++ b/src/osmo-bts-lc15/l1_if.c @@ -1248,7 +1248,6 @@ Litecell15_Prim_t *sysp = msgb_sysprim(resp); GsmL1_Status_t status; int on = 0; - unsigned int i;
if (sysp->id == Litecell15_PrimId_ActivateRfCnf) on = 1;