diff --git a/rcl_yaml_param_parser/src/parser.c b/rcl_yaml_param_parser/src/parser.c index a8b2db5..1a265d5 100644 --- a/rcl_yaml_param_parser/src/parser.c +++ b/rcl_yaml_param_parser/src/parser.c @@ -1163,7 +1163,7 @@ static rcl_ret_t parse_events( bool is_key = true; bool is_seq = false; uint32_t line_num = 0; - data_types_t seq_data_type; + data_types_t seq_data_type = DATA_TYPE_UNKNOWN; uint32_t map_level = 1U; uint32_t map_depth = 0U; bool is_new_map = false;