Commit 15d8bd5d authored by Raphael Defosseux's avatar Raphael Defosseux

fix a few cppcheck errors.

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent c89a06dc
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
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