diff --git a/openair1/PHY/LTE_TRANSPORT/pbch.c b/openair1/PHY/LTE_TRANSPORT/pbch.c index dfa990269ec864293d57ebf0eac259cd4d483b91..8e9a9688274bb38ca22581b85d4da8b849396fe5 100644 --- a/openair1/PHY/LTE_TRANSPORT/pbch.c +++ b/openair1/PHY/LTE_TRANSPORT/pbch.c @@ -72,6 +72,7 @@ int allocate_pbch_REs_in_RB(LTE_DL_FRAME_PARMS *frame_parms, first_re=0; last_re=12; + for (re=first_re; re<last_re; re++) { tti_offset = symbol_offset + re_off + re; diff --git a/openair2/RRC/LTE/rrc_eNB.c b/openair2/RRC/LTE/rrc_eNB.c index b33b324313b9a45c384844192fe8eee60697d28f..da21dc832980c446f59c3981c4606348e5cf22c3 100644 --- a/openair2/RRC/LTE/rrc_eNB.c +++ b/openair2/RRC/LTE/rrc_eNB.c @@ -9085,7 +9085,7 @@ void rrc_subframe_process(protocol_ctxt_t *const ctxt_pP, const int CC_id) { } // check for UL failure or for UE to be released - FILE *fd; + FILE *fd=NULL; if ((ctxt_pP->frame&127) == 0 && ctxt_pP->subframe ==0) fd=fopen("RRC_stats.log","w+");