fix a few cppcheck errors.
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user