X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fapi_5g%2Fsource%2Futils%2Fnr5g_fapi_stats.c;fp=fapi_5g%2Fsource%2Futils%2Fnr5g_fapi_stats.c;h=71218db0b21e81081ea3639d49bc701c499f9856;hp=e3bae5d01b3852bd4018a61cf320d26a9d8dd943;hb=70d9d920dd4e575f085f1f1a9050fefd1c10e127;hpb=331df2273a6667941167c9bcc141a517369bdf43 diff --git a/fapi_5g/source/utils/nr5g_fapi_stats.c b/fapi_5g/source/utils/nr5g_fapi_stats.c index e3bae5d..71218db 100644 --- a/fapi_5g/source/utils/nr5g_fapi_stats.c +++ b/fapi_5g/source/utils/nr5g_fapi_stats.c @@ -33,8 +33,9 @@ void nr5g_fapi_print_phy_instance_stats( FILE *fp = NULL; enum { FILE_MODE = 0666 }; nr5g_fapi_stats_t *p_stats; - char *fname = NULL, stats_fname[NR5G_FAPI_STATS_FNAME_LEN]; + char *fname = NULL; #ifdef DEBUG_MODE + char stats_fname[NR5G_FAPI_STATS_FNAME_LEN]; uint32_t test_num; uint32_t test_type; char test_type_str[][8] = { {"DL"}, {"UL"}, {"FD"} }; @@ -209,4 +210,3 @@ void nr5g_fapi_print_phy_instance_stats( } close(fd); } -