diff --git a/source/endpoints_ruleset.c b/source/endpoints_ruleset.c index 20c5654..866f865 100644 --- a/source/endpoints_ruleset.c +++ b/source/endpoints_ruleset.c @@ -488,7 +488,8 @@ static int s_on_parameter_key( struct aws_json_value *deprecated_node = aws_json_value_get_from_object_c_str(value, "deprecated"); if (deprecated_node != NULL) { - struct aws_json_value *deprecated_message_node = aws_json_value_get_from_object_c_str(deprecated_node, "message"); + struct aws_json_value *deprecated_message_node = + aws_json_value_get_from_object_c_str(deprecated_node, "message"); if (deprecated_message_node != NULL && aws_json_value_get_string(deprecated_message_node, ¶meter->deprecated_message)) { AWS_LOGF_ERROR(AWS_LS_SDKUTILS_ENDPOINTS_PARSING, "Unexpected value for deprecated message."); diff --git a/source/endpoints_types_impl.c b/source/endpoints_types_impl.c index e20b812..b1359d9 100644 --- a/source/endpoints_types_impl.c +++ b/source/endpoints_types_impl.c @@ -262,8 +262,7 @@ int aws_endpoints_deep_copy_parameter_value( AWS_LOGF_ERROR(AWS_LS_SDKUTILS_ENDPOINTS_RESOLVE, "Unexpected value type."); return aws_raise_error(AWS_ERROR_INVALID_STATE); } - aws_byte_cursor_is_valid - return AWS_OP_SUCCESS; + aws_byte_cursor_is_valid return AWS_OP_SUCCESS; on_error: aws_endpoints_value_clean_up(to);