]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap: test-imap-client-hibernate - Remove dead assignment
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 13 Jan 2021 10:54:09 +0000 (12:54 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 15 Jan 2021 13:30:16 +0000 (13:30 +0000)
src/imap/test-imap-client-hibernate.c

index e767a1f69d5ec4520c05a5896ea2dfa379e5c50f..6136019a84271e6a04f1e1cd15132fac75deea7f 100644 (file)
@@ -80,7 +80,7 @@ static int imap_hibernate_server(struct test_imap_client_hibernate *ctx)
        if (ctx->has_mailbox) {
                /* read mailbox notify fd */
                i_stream_unix_set_read_fd(input);
-               if ((line = i_stream_read_next_line(input)) == NULL)
+               if (i_stream_read_next_line(input) == NULL)
                        i_fatal("read(imap-hibernate notify fd) failed: %s",
                                i_stream_get_error(input));