diff --git a/openair1/PHY/LTE_TRANSPORT/dlsch_coding.c b/openair1/PHY/LTE_TRANSPORT/dlsch_coding.c index 2730d65f6c266ecd00c31a0883d419b8d6242232..b44a04eb742488b2dc599ba83997619987630d41 100644 --- a/openair1/PHY/LTE_TRANSPORT/dlsch_coding.c +++ b/openair1/PHY/LTE_TRANSPORT/dlsch_coding.c @@ -705,7 +705,7 @@ int dlsch_encoding(PHY_VARS_eNB *eNB, // if (dlsch->harq_processes[harq_pid]->Ndi == 1) { // this is a new packet if (dlsch->harq_processes[harq_pid]->round == 0) { // this is a new packet #ifdef DEBUG_DLSCH_CODING - printf("encoding thinks this is a new packet for harq_pid %d (%p), A %d \n",harq_pid,dlsch,A); + printf("encoding thinks this is a new packet for harq_pid %d (%p), A %u \n",harq_pid,dlsch,A); #endif /* int i; diff --git a/openair2/RRC/LTE/MESSAGES/asn1_msg.c b/openair2/RRC/LTE/MESSAGES/asn1_msg.c index ef43b1558490c269415ffbcfc97b3bb6b6e101b8..9f12e99d9c80ebf42ca52ad6d15250d5509908d0 100644 --- a/openair2/RRC/LTE/MESSAGES/asn1_msg.c +++ b/openair2/RRC/LTE/MESSAGES/asn1_msg.c @@ -353,7 +353,7 @@ LTE_DRX_Config_t *do_DrxConfig(uint8_t Mod_id, memset(drxConfig, 0, sizeof(LTE_DRX_Config_t)); /* Long DRX cycle support is mandatory for CDRX activation */ - if (!ueSupportCdrxLongFlag || configuration == NULL) { + if (!ueSupportCdrxLongFlag) { drxConfig->present = LTE_DRX_Config_PR_release; } else { drxConfig->present = configuration->radioresourceconfig[CC_id].drx_Config_present; diff --git a/targets/RT/USER/lte-softmodem.c b/targets/RT/USER/lte-softmodem.c index 9b4abf8ee0af4718b0096bf0c9c0c3d29f7aed24..80b9c3a3fd4e07fb3283335412d1ef2a2e787d39 100644 --- a/targets/RT/USER/lte-softmodem.c +++ b/targets/RT/USER/lte-softmodem.c @@ -611,7 +611,7 @@ int main( int argc, char **argv ) { #if defined (XFORMS) void *status; #endif - int CC_id; + int CC_id = 0; int ru_id; #if defined (XFORMS) int ret;