From afeb5f4de2285cd70cc5a7e6b2f8d8a283414622 Mon Sep 17 00:00:00 2001 From: Michael Cook Date: Sun, 14 Nov 2021 06:29:24 -0800 Subject: [PATCH] Fix warning about unused variable `off` It's used only if LOG_M is enabled. --- openair1/SCHED_NR/phy_procedures_nr_gNB.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openair1/SCHED_NR/phy_procedures_nr_gNB.c b/openair1/SCHED_NR/phy_procedures_nr_gNB.c index 5c80093112..c078ae9151 100644 --- a/openair1/SCHED_NR/phy_procedures_nr_gNB.c +++ b/openair1/SCHED_NR/phy_procedures_nr_gNB.c @@ -455,6 +455,7 @@ void nr_fill_indication(PHY_VARS_gNB *gNB, int frame, int slot_rx, int ULSCH_id, if (0/*pusch_pdu->mcs_index == 9*/) { + __attribute__((unused)) #ifdef __AVX2__ int off = ((pusch_pdu->rb_size&1) == 1)? 4:0; #else