Skip to content

Commit 5212406

Browse files
missing brace
1 parent 7b7b709 commit 5212406

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/s3_default_buffer_pool.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,9 +601,10 @@ static bool s_should_trim_for_reserve_synced(
601601
static int s_align_up_to_block_size(size_t size, size_t block_size, size_t *out) {
602602
AWS_FATAL_ASSERT(block_size > 0);
603603
size_t remainder = size % block_size;
604-
if (remainder == 0)
604+
if (remainder == 0) {
605605
*out = size;
606606
return AWS_OP_SUCCESS;
607+
}
607608

608609
size_t sub = 0;
609610
if (!aws_sub_size_checked(block_size, remainder, &sub)) {

0 commit comments

Comments
 (0)