changeset 20736:9734b271baba

auth: Explicitly ignore return value to make static analyzer happier.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 09 Sep 2016 18:12:41 +0300
parents ad61b4f88130
children eb00bf4af260
files src/auth/auth-policy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/auth-policy.c	Fri Sep 09 18:10:29 2016 +0300
+++ b/src/auth/auth-policy.c	Fri Sep 09 18:12:41 2016 +0300
@@ -223,7 +223,7 @@
 
 	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));