Fix printf of possibly uninitialized variable in chest_test_dl.c.

master
Pedro Alvarez 6 years ago committed by Andre Puschmann
parent a18196cdc2
commit 2edc0a6b00

@ -83,6 +83,7 @@ int main(int argc, char **argv) {
int ret = -1; int ret = -1;
int max_cid; int max_cid;
FILE* fmatlab = NULL; FILE* fmatlab = NULL;
uint32_t cid = 0;
parse_args(argc,argv); parse_args(argc,argv);
@ -117,7 +118,6 @@ int main(int argc, char **argv) {
goto do_exit; goto do_exit;
} }
uint32_t cid = 0;
if (cell.id == 1000) { if (cell.id == 1000) {
cid = 0; cid = 0;
max_cid = 504; max_cid = 504;
@ -228,8 +228,6 @@ int main(int argc, char **argv) {
INFO("cid=%d\n", cid); INFO("cid=%d\n", cid);
} }
srslte_chest_dl_free(&est); srslte_chest_dl_free(&est);
ret = 0; ret = 0;
do_exit: do_exit:

Loading…
Cancel
Save