Skip to content

Commit

Permalink
lib-sieve: util: edit-mail: istream: Remove useless check.
Browse files Browse the repository at this point in the history
This is tested already in the assertion that precedes it.
  • Loading branch information
stephanbosch committed Mar 3, 2018
1 parent b9cfdb8 commit 0b4ed1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib-sieve/util/edit-mail.c
Expand Up @@ -1759,8 +1759,7 @@ static ssize_t merge_from_parent
} else {
cur_pos = 0;
i_assert(append_v_offset >= copy_v_offset);
if (append_v_offset > copy_v_offset)
parent_v_offset += (append_v_offset - copy_v_offset);
parent_v_offset += (append_v_offset - copy_v_offset);
}

/* Seek parent to required position */
Expand Down

0 comments on commit 0b4ed1a

Please sign in to comment.