Skip to content

Commit 065941a

Browse files
committed
init result
1 parent 15b5cfd commit 065941a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/native/http_request_utils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ static int s_aws_input_stream_read(struct aws_input_stream *stream, struct aws_b
109109
impl->body_done = (*env)->CallBooleanMethod(
110110
env, impl->http_request_body_stream, http_request_body_stream_properties.send_outgoing_body, direct_buffer);
111111

112+
int result = AWS_OP_SUCCESS;
112113
if (aws_jni_check_and_clear_exception(env)) {
113114
result = aws_raise_error(AWS_ERROR_HTTP_CALLBACK_FAILURE);
114115
(*env)->DeleteLocalRef(env, direct_buffer);

0 commit comments

Comments
 (0)