Skip to content

Commit

Permalink
plugins: imapsieve: Remove useless NULL check for exec_status.
Browse files Browse the repository at this point in the history
In this context, it can never be NULL and the check confuses Coverity.
  • Loading branch information
stephanbosch authored and cmouse committed Dec 12, 2018
1 parent 993bb23 commit 5b81342
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/imapsieve/imap-sieve.c
Expand Up @@ -512,8 +512,7 @@ static int imap_sieve_handle_exec_status

error_func = user_error_func = sieve_sys_error;

if ( estatus != NULL && estatus->last_storage != NULL &&
estatus->store_failed) {
if (estatus->last_storage != NULL && estatus->store_failed) {
mail_storage_get_last_error(estatus->last_storage, &mail_error);

/* Don't bother administrator too much with benign errors */
Expand Down

0 comments on commit 5b81342

Please sign in to comment.