]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Explicitly ignore return value to make static analyzer happier.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 9 Sep 2016 15:12:41 +0000 (18:12 +0300)
committerGitLab <gitlab@git.dovecot.net>
Tue, 13 Sep 2016 14:51:25 +0000 (17:51 +0300)
src/auth/auth-policy.c

index 647b0e2a49c3ad8a7d8b5bd09625b1a7439f4633..c07ac343bc7082f4e5fcb3e302b319ef145628be 100755 (executable)
@@ -223,7 +223,7 @@ void auth_policy_finish(void *ctx)
 
        if (context->parser != NULL) {
                const char *error ATTR_UNUSED;
-               json_parser_deinit(&(context->parser), &error);
+               (void)json_parser_deinit(&(context->parser), &error);
        }
        if (context->http_request != NULL)
                http_client_request_abort(&(context->http_request));