]> 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)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 15 Sep 2016 05:58:33 +0000 (08:58 +0300)
src/auth/auth-policy.c

index e815de1b0288ac54e2f1088a7051f93732d857da..2f7b4caea7e89b4596d5ae8e0cbca0c1316da244 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));