fix warnings identified by CI

This commit is contained in:
Thomas Schlichter
2021-02-03 10:50:38 +01:00
parent 283a060497
commit 8b00361f56
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -874,7 +874,7 @@ void init_gNB_proc(int inst) {
gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t));
gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t));
int numCPU = sysconf(_SC_NPROCESSORS_ONLN);
uint32_t num_threads_pusch;
uint32_t num_threads_pusch = 1;
paramdef_t PUSCHThreads[] = NUM_THREADS_DESC;
config_get( PUSCHThreads,sizeof(PUSCHThreads)/sizeof(paramdef_t),NULL);
int threadCnt = min(numCPU, num_threads_pusch);