Fixed compile warnings

This commit is contained in:
Sakthivel Velumani
2021-01-31 17:35:08 +01:00
parent 0eb2e06725
commit a241df5006
3 changed files with 3 additions and 3 deletions
+1
View File
@@ -873,6 +873,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);
printf("num threads %d\n",gNB->pusch_proc_threads);
int threadCnt = min(numCPU, gNB->pusch_proc_threads);
char ul_pool[80];
sprintf(ul_pool,"-1");