From 2d48fe959bcea9d5db00fca12df1d059473558bd Mon Sep 17 00:00:00 2001 From: Kristopher Wehage Date: Thu, 10 Aug 2023 13:33:59 -0700 Subject: [PATCH] Fix uninitialized variable --- tools/jsd_egd_tlc_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jsd_egd_tlc_tty.c b/tools/jsd_egd_tlc_tty.c index 826c64f..fb239c9 100644 --- a/tools/jsd_egd_tlc_tty.c +++ b/tools/jsd_egd_tlc_tty.c @@ -30,7 +30,7 @@ void* tlc_tty_cb(void* jsd_ptr) { char tlc[8]; char val_str[64]; char val_type[64]; - jsd_sdo_data_type_t data_type; + jsd_sdo_data_type_t data_type = JSD_SDO_DATA_UNSPECIFIED; jsd_sdo_data_t sdo_data; while (!quit) {