Commit 7c847cd9 authored by Robert Schmidt's avatar Robert Schmidt

Merge remote-tracking branch 'origin/uninitvar_cppcheck_fix_on_w27_2023' into integration_2023_w29

parents a6b6b61b 428f9c09
...@@ -152,7 +152,7 @@ int main(int n, char **v) ...@@ -152,7 +152,7 @@ int main(int n, char **v)
int32_t length; int32_t length;
char *v; char *v;
int vpos = 0; int vpos = 0;
struct timespec t; struct timespec t = {0};
char *buf; char *buf;
/* read event from file */ /* read event from file */
......
...@@ -502,7 +502,7 @@ void fh_if5_north_asynch_in(RU_t *ru,int *frame,int *slot) { ...@@ -502,7 +502,7 @@ void fh_if5_north_asynch_in(RU_t *ru,int *frame,int *slot) {
NR_DL_FRAME_PARMS *fp = ru->nr_frame_parms; NR_DL_FRAME_PARMS *fp = ru->nr_frame_parms;
RU_proc_t *proc = &ru->proc; RU_proc_t *proc = &ru->proc;
int tti_tx,frame_tx; int tti_tx,frame_tx;
openair0_timestamp timestamp_tx; openair0_timestamp timestamp_tx = 0;
AssertFatal(1==0,"Shouldn't get here\n"); AssertFatal(1==0,"Shouldn't get here\n");
// printf("Received subframe %d (TS %llu) from RCC\n",tti_tx,timestamp_tx); // printf("Received subframe %d (TS %llu) from RCC\n",tti_tx,timestamp_tx);
frame_tx = (timestamp_tx / (fp->samples_per_subframe*10))&1023; frame_tx = (timestamp_tx / (fp->samples_per_subframe*10))&1023;
......
...@@ -585,7 +585,7 @@ double SNR,snr0=-2.0,snr1,rate = 0; ...@@ -585,7 +585,7 @@ double SNR,snr0=-2.0,snr1,rate = 0;
int print_perf=0; int print_perf=0;
int main(int argc, char **argv) { int main(int argc, char **argv) {
int k,i,j,aa; int k = 0,i,j,aa;
int re; int re;
int s,Kr,Kr_bytes; int s,Kr,Kr_bytes;
LTE_DL_FRAME_PARMS *frame_parms; LTE_DL_FRAME_PARMS *frame_parms;
......
...@@ -312,7 +312,7 @@ int main(int argc, char **argv) { ...@@ -312,7 +312,7 @@ int main(int argc, char **argv) {
#ifdef IFFT_FPGA #ifdef IFFT_FPGA
int **txdataF2; int **txdataF2;
#endif #endif
int **txdata,**txdata1,**txdata2; int **txdata,**txdata1 = NULL,**txdata2 = NULL;
double **s_re,**s_im,**s_re1,**s_im1,**s_re2,**s_im2,**r_re,**r_im,**r_re1,**r_im1,**r_re2,**r_im2; double **s_re,**s_im,**s_re1,**s_im1,**s_re2,**s_im2,**r_re,**r_im,**r_re1,**r_im1,**r_re2,**r_im2;
double iqim = 0.0; double iqim = 0.0;
unsigned char pbch_pdu[6]; unsigned char pbch_pdu[6];
......
...@@ -793,7 +793,7 @@ main (int argc, char *argv[]) { ...@@ -793,7 +793,7 @@ main (int argc, char *argv[]) {
char y_area[20]; char y_area[20];
char z_area[20]; char z_area[20];
char fname[64], vname[64]; char fname[64], vname[64];
Data_Flow_Unit omv_data; Data_Flow_Unit omv_data = {0};
//default parameters //default parameters
for (node_type = eNB; node_type < MAX_NUM_NODE_TYPES; node_type++) { for (node_type = eNB; node_type < MAX_NUM_NODE_TYPES; node_type++) {
......
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