]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: client: Fix dead assignment in smtp_client_command_pipeline_is_open().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Tue, 22 Jan 2019 21:06:38 +0000 (22:06 +0100)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 23 Jan 2019 08:51:53 +0000 (08:51 +0000)
Found by scan-build.

src/lib-smtp/smtp-client-command.c

index da0cd1fd955708e9a63ae0191f877da1a55ff9a3..7446bbca68367bfc1501170e979743967dc92d87 100644 (file)
@@ -616,7 +616,6 @@ smtp_client_command_pipeline_is_open(struct smtp_client_connection *conn)
                cmd = cmd->next;
        }
 
-       cmd = conn->cmd_send_queue_head;
        return TRUE;
 }