From 4cd82e7c47287149dee12094ca1e06b8ec9c700f Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Sat, 13 Jul 2024 20:15:14 +0200 Subject: [PATCH] Fix array size orror in parent commit Correct the array by taking out a verification entry in the verification array that led to runtime error Assertion (numparams == (sizeof(cmdline_CheckParams)/sizeof(*(cmdline_CheckParams)))) failed! In get_common_options() /home/richie/openairinterface5g/executables/softmodem-common.c:109 Error in arrays size (41!=42) --- executables/softmodem-common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/executables/softmodem-common.h b/executables/softmodem-common.h index b7baaea7da..61438e6b1d 100644 --- a/executables/softmodem-common.h +++ b/executables/softmodem-common.h @@ -228,7 +228,6 @@ extern int usrp_tx_thread; { .s5 = { NULL } }, \ { .s5 = { NULL } }, \ { .s5 = { NULL } }, \ - { .s5 = { NULL } }, \ { .s3a = { config_checkstr_assign_integer, \ {"MONOLITHIC", "PNF", "VNF", "AERIAL","UE_STUB_PNF","UE_STUB_OFFNET","STANDALONE_PNF"}, \ {NFAPI_MONOLITHIC, NFAPI_MODE_PNF, NFAPI_MODE_VNF, NFAPI_MODE_AERIAL,NFAPI_UE_STUB_PNF,NFAPI_UE_STUB_OFFNET,NFAPI_MODE_STANDALONE_PNF}, \