File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
rcl_yaml_param_parser/src Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -786,13 +786,6 @@ rcutils_ret_t parse_key(
786786 {
787787 /// Till we get PARAMS_KEY or PARAMS_DESCRIPTORS_KEY, keep adding to node namespace
788788 if (0 == strncmp (PARAMS_KEY , value , strlen (PARAMS_KEY ))) {
789- if (0U == ns_tracker -> num_node_ns ) {
790- RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING (
791- "There are no node names before %s at line %d" , PARAMS_KEY , line_num );
792- ret = RCUTILS_RET_ERROR ;
793- break ;
794- }
795-
796789 if (* is_new_map ) {
797790 /// The previous key(last name in namespace) was the node name. Remove it
798791 /// from the namespace
@@ -824,13 +817,6 @@ rcutils_ret_t parse_key(
824817 /// Bump the map level to PARAMS
825818 (* map_level )++ ;
826819 } else if (0 == strncmp (PARAMS_DESCRIPTORS_KEY , value , strlen (PARAMS_DESCRIPTORS_KEY ))) {
827- if (0U == ns_tracker -> num_node_ns ) {
828- RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING (
829- "There are no node names before %s at line %d" , PARAMS_DESCRIPTORS_KEY , line_num );
830- ret = RCUTILS_RET_ERROR ;
831- break ;
832- }
833-
834820 if (* is_new_map ) {
835821 /// The previous key(last name in namespace) was the node name. Remove it
836822 /// from the namespace
You can’t perform that action at this time.
0 commit comments