Commit f3169453 authored by Raphael Defosseux's avatar Raphael Defosseux

fix a few cppcheck errors.

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent d8096787
...@@ -705,7 +705,7 @@ int dlsch_encoding(PHY_VARS_eNB *eNB, ...@@ -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]->Ndi == 1) { // this is a new packet
if (dlsch->harq_processes[harq_pid]->round == 0) { // this is a new packet if (dlsch->harq_processes[harq_pid]->round == 0) { // this is a new packet
#ifdef DEBUG_DLSCH_CODING #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 #endif
/* /*
int i; int i;
......
...@@ -353,7 +353,7 @@ LTE_DRX_Config_t *do_DrxConfig(uint8_t Mod_id, ...@@ -353,7 +353,7 @@ LTE_DRX_Config_t *do_DrxConfig(uint8_t Mod_id,
memset(drxConfig, 0, sizeof(LTE_DRX_Config_t)); memset(drxConfig, 0, sizeof(LTE_DRX_Config_t));
/* Long DRX cycle support is mandatory for CDRX activation */ /* Long DRX cycle support is mandatory for CDRX activation */
if (!ueSupportCdrxLongFlag || configuration == NULL) { if (!ueSupportCdrxLongFlag) {
drxConfig->present = LTE_DRX_Config_PR_release; drxConfig->present = LTE_DRX_Config_PR_release;
} else { } else {
drxConfig->present = configuration->radioresourceconfig[CC_id].drx_Config_present; drxConfig->present = configuration->radioresourceconfig[CC_id].drx_Config_present;
......
...@@ -611,7 +611,7 @@ int main( int argc, char **argv ) { ...@@ -611,7 +611,7 @@ int main( int argc, char **argv ) {
#if defined (XFORMS) #if defined (XFORMS)
void *status; void *status;
#endif #endif
int CC_id; int CC_id = 0;
int ru_id; int ru_id;
#if defined (XFORMS) #if defined (XFORMS)
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment