From 95b41470090658af7eaf7f093424c94f9d8eed11 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Wed, 30 May 2018 09:41:24 -0700 Subject: [PATCH] Initialize seq_data_type (#245) --- rcl_yaml_param_parser/src/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;