]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
global: Ignore unnecessary return values.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 10 Feb 2017 11:15:26 +0000 (13:15 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 10 Feb 2017 11:34:54 +0000 (13:34 +0200)
src/imap-urlauth/imap-urlauth-worker.c
src/plugins/virtual/virtual-storage.c

index 854f7a527d9a50f3ecf71b0d1be371e8137bf5f8..ed0470ade7b61e922c8389e7c6e361724d5c30b3 100644 (file)
@@ -296,7 +296,7 @@ static int client_run_url(struct client *client)
        }
 
        if (client->msg_part_input->eof) {
-               o_stream_send(client->output, "\n", 1);
+               (void)o_stream_send(client->output, "\n", 1);
                imap_msgpart_url_free(&client->url);
                return 1;
        }
index 5d666dfaa63c5df0d5772b24455b44db4ecf9d41..5c7dc68d5cbb54f2e105eb1b26470f3dbf5d64b3 100644 (file)
@@ -210,7 +210,7 @@ static int virtual_backend_box_alloc(struct virtual_mailbox *mbox,
        i_array_init(&bbox->sync_pending_removes, 64);
        /* we use modseqs for being able to check quickly if backend mailboxes
           have changed. make sure the backend has them enabled. */
-       mailbox_enable(bbox->box, MAILBOX_FEATURE_CONDSTORE);
+       (void)mailbox_enable(bbox->box, MAILBOX_FEATURE_CONDSTORE);
        return 1;
 }