diff --git a/include/proto/listener.h b/include/proto/listener.h
index 63bef12..c23a6e0 100644
--- a/include/proto/listener.h
+++ b/include/proto/listener.h
@@ -128,7 +128,7 @@ static inline struct bind_conf *bind_conf_alloc(struct list *lh, const char *fil
 	bind_conf->file = strdup(file);
 	bind_conf->line = line;
 	if (lh)
-		LIST_ADDQ(lh, &bind_conf->by_fe);
+		(void) LIST_ADDQ(lh, &bind_conf->by_fe);
 	if (arg)
 		bind_conf->arg = strdup(arg);
 
diff --git a/include/proto/session.h b/include/proto/session.h
index 3b6e1fc..2a7d02b 100644
--- a/include/proto/session.h
+++ b/include/proto/session.h
@@ -222,7 +222,7 @@ static void inline session_inc_http_err_ctr(struct session *s)
 static void inline session_add_srv_conn(struct session *sess, struct server *srv)
 {
 	sess->srv_conn = srv;
-	LIST_ADD(&srv->actconns, &sess->by_srv);
+	(void) LIST_ADD(&srv->actconns, &sess->by_srv);
 }
 
 static void inline session_del_srv_conn(struct session *sess)
@@ -231,7 +231,7 @@ static void inline session_del_srv_conn(struct session *sess)
 		return;
 
 	sess->srv_conn = NULL;
-	LIST_DEL(&sess->by_srv);
+	(void) LIST_DEL(&sess->by_srv);
 }
 
 static void inline session_init_srv_conn(struct session *sess)
diff --git a/src/acl.c b/src/acl.c
index 05bb1a5..7449bfa 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -830,7 +830,7 @@ int acl_parse_ip(const char **text, struct acl_pattern *pattern, int *opaque, ch
  */
 void acl_register_keywords(struct acl_kw_list *kwl)
 {
-	LIST_ADDQ(&acl_keywords.list, &kwl->list);
+	(void) LIST_ADDQ(&acl_keywords.list, &kwl->list);
 }
 
 /*
@@ -838,7 +838,7 @@ void acl_register_keywords(struct acl_kw_list *kwl)
  */
 void acl_unregister_keywords(struct acl_kw_list *kwl)
 {
-	LIST_DEL(&kwl->list);
+	(void) LIST_DEL(&kwl->list);
 	LIST_INIT(&kwl->list);
 }
 
@@ -1012,7 +1012,7 @@ static int acl_read_patterns_from_file(struct acl_expr *expr,
 
 		/* if the parser did not feed the tree, let's chain the pattern to the list */
 		if (!(pattern->flags & ACL_PAT_F_TREE)) {
-			LIST_ADDQ(&expr->patterns, &pattern->list);
+			(void) LIST_ADDQ(&expr->patterns, &pattern->list);
 			pattern = NULL; /* get a new one */
 		}
 	}
@@ -1248,7 +1248,7 @@ struct acl_expr *parse_acl_expr(const char **args, char **err, struct arg_list *
 		if (!ret)
 			goto out_free_pattern;
 
-		LIST_ADDQ(&expr->patterns, &pattern->list);
+		(void) LIST_ADDQ(&expr->patterns, &pattern->list);
 		args += ret;
 	}
 
@@ -1271,7 +1271,7 @@ struct acl *prune_acl(struct acl *acl) {
 	free(acl->name);
 
 	list_for_each_entry_safe(expr, exprb, &acl->expr, list) {
-		LIST_DEL(&expr->list);
+		(void) LIST_DEL(&expr->list);
 		prune_acl_expr(expr);
 		free(expr);
 	}
@@ -1338,7 +1338,7 @@ struct acl *parse_acl(const char **args, struct list *known_acl, char **err, str
 		}
 
 		LIST_INIT(&cur_acl->expr);
-		LIST_ADDQ(known_acl, &cur_acl->list);
+		(void) LIST_ADDQ(known_acl, &cur_acl->list);
 		cur_acl->name = name;
 	}
 
@@ -1348,7 +1348,7 @@ struct acl *parse_acl(const char **args, struct list *known_acl, char **err, str
 	 */
 	cur_acl->use |= acl_expr->smp->use;
 	cur_acl->val |= acl_expr->smp->val;
-	LIST_ADDQ(&cur_acl->expr, &acl_expr->list);
+	(void) LIST_ADDQ(&cur_acl->expr, &acl_expr->list);
 	return cur_acl;
 
  out_free_name:
@@ -1437,9 +1437,9 @@ static struct acl *find_acl_default(const char *acl_name, struct list *known_acl
 	cur_acl->use |= acl_expr->smp->use;
 	cur_acl->val |= acl_expr->smp->val;
 	LIST_INIT(&cur_acl->expr);
-	LIST_ADDQ(&cur_acl->expr, &acl_expr->list);
+	(void) LIST_ADDQ(&cur_acl->expr, &acl_expr->list);
 	if (known_acl)
-		LIST_ADDQ(known_acl, &cur_acl->list);
+		(void) LIST_ADDQ(known_acl, &cur_acl->list);
 
 	return cur_acl;
 
@@ -1603,9 +1603,9 @@ struct acl_cond *parse_acl_cond(const char **args, struct list *known_acl,
 				goto out_free_term;
 			}
 			LIST_INIT(&cur_suite->terms);
-			LIST_ADDQ(&cond->suites, &cur_suite->list);
+			(void) LIST_ADDQ(&cond->suites, &cur_suite->list);
 		}
-		LIST_ADDQ(&cur_suite->terms, &cur_term->list);
+		(void) LIST_ADDQ(&cur_suite->terms, &cur_term->list);
 		neg = 0;
 	}
 
diff --git a/src/appsession.c b/src/appsession.c
index a71f186..038e53e 100644
--- a/src/appsession.c
+++ b/src/appsession.c
@@ -102,7 +102,7 @@ static struct task *appsession_refresh(struct task *t)
 						if (write(1, trash.str, trash.len) < 0) /* shut gcc warning */;
 					}
 					/* delete the expired element from within the hash table */
-					LIST_DEL(&element->hash_list);
+					(void) LIST_DEL(&element->hash_list);
 					htbl->destroy(element);
 				}/* end if (tv_isle(&asession->expire, &now)) */
 			}
diff --git a/src/arg.c b/src/arg.c
index 1bf6444..7b43e59 100644
--- a/src/arg.c
+++ b/src/arg.c
@@ -72,7 +72,7 @@ struct arg_list *arg_list_add(struct arg_list *orig, struct arg *arg, int pos)
 	new = arg_list_clone(orig);
 	new->arg = arg;
 	new->arg_pos = pos;
-	LIST_ADDQ(&orig->list, &new->list);
+	(void) LIST_ADDQ(&orig->list, &new->list);
 	return new;
 }
 
diff --git a/src/cfgparse.c b/src/cfgparse.c
index 9907bfd..8ab93bf 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -266,8 +266,8 @@ int str2listener(char *str, struct proxy *curproxy, struct bind_conf *bind_conf,
 		for (; port <= end; port++) {
 			l = (struct listener *)calloc(1, sizeof(struct listener));
 			l->obj_type = OBJ_TYPE_LISTENER;
-			LIST_ADDQ(&curproxy->conf.listeners, &l->by_fe);
-			LIST_ADDQ(&bind_conf->listeners, &l->by_bind);
+			(void) LIST_ADDQ(&curproxy->conf.listeners, &l->by_fe);
+			(void) LIST_ADDQ(&bind_conf->listeners, &l->by_bind);
 			l->frontend = curproxy;
 			l->bind_conf = bind_conf;
 
@@ -1094,7 +1094,7 @@ int cfg_parse_global(const char *file, int linenum, char **args, int kwm)
 		}
 
 		list_for_each_entry_safe(tmp, back, &global.logsrvs, list) {
-			LIST_DEL(&tmp->list);
+			(void) LIST_DEL(&tmp->list);
 			free(tmp);
 		}
 	}
@@ -1161,7 +1161,7 @@ int cfg_parse_global(const char *file, int linenum, char **args, int kwm)
 				set_host_port(&logsrv->addr, SYSLOG_PORT);
 		}
 
-		LIST_ADDQ(&global.logsrvs, &logsrv->list);
+		(void) LIST_ADDQ(&global.logsrvs, &logsrv->list);
 	}
 	else if (!strcmp(args[0], "log-send-hostname")) { /* set the hostname in syslog header */
 		char *name;
@@ -1872,7 +1872,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 			struct logsrv *node = malloc(sizeof(struct logsrv));
 			memcpy(node, tmplogsrv, sizeof(struct logsrv));
 			LIST_INIT(&node->list);
-			LIST_ADDQ(&curproxy->logsrvs, &node->list);
+			(void) LIST_ADDQ(&curproxy->logsrvs, &node->list);
 		}
 
 		curproxy->conf.uniqueid_format_string = defproxy.conf.uniqueid_format_string;
@@ -2652,7 +2652,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 	                                          (curproxy->cap & PR_CAP_FE) ? SMP_VAL_FE_HRQ_HDR : SMP_VAL_BE_HRQ_HDR,
 	                                          file, linenum);
 
-		LIST_ADDQ(&curproxy->http_req_rules, &rule->list);
+		(void) LIST_ADDQ(&curproxy->http_req_rules, &rule->list);
 	}
 	else if (!strcmp(args[0], "http-send-name-header")) { /* send server name in request header */
 		/* set the header name and length into the proxy structure */
@@ -2692,7 +2692,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 			goto out;
 		}
 
-		LIST_ADDQ(&curproxy->block_cond, &cond->list);
+		(void) LIST_ADDQ(&curproxy->block_cond, &cond->list);
 		warnif_misplaced_block(curproxy, file, linenum, args[0]);
 	}
 	else if (!strcmp(args[0], "redirect")) {
@@ -2711,7 +2711,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 			goto out;
 		}
 
-		LIST_ADDQ(&curproxy->redirect_rules, &rule->list);
+		(void) LIST_ADDQ(&curproxy->redirect_rules, &rule->list);
 		err_code |= warnif_rule_after_use_backend(curproxy, file, linenum, args[0]);
 		err_code |= warnif_cond_conflicts(rule->cond,
 	                                          (curproxy->cap & PR_CAP_FE) ? SMP_VAL_FE_HRQ_HDR : SMP_VAL_BE_HRQ_HDR,
@@ -2755,7 +2755,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 		rule->cond = cond;
 		rule->be.name = strdup(args[1]);
 		LIST_INIT(&rule->list);
-		LIST_ADDQ(&curproxy->switching_rules, &rule->list);
+		(void) LIST_ADDQ(&curproxy->switching_rules, &rule->list);
 	}
 	else if (strcmp(args[0], "use-server") == 0) {
 		struct server_rule *rule;
@@ -2795,7 +2795,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 		rule->cond = cond;
 		rule->srv.name = strdup(args[1]);
 		LIST_INIT(&rule->list);
-		LIST_ADDQ(&curproxy->server_rules, &rule->list);
+		(void) LIST_ADDQ(&curproxy->server_rules, &rule->list);
 		curproxy->be_req_ana |= AN_REQ_SRV_RULES;
 	}
 	else if ((!strcmp(args[0], "force-persist")) ||
@@ -2838,7 +2838,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 			rule->type = PERSIST_TYPE_IGNORE;
 		}
 		LIST_INIT(&rule->list);
-		LIST_ADDQ(&curproxy->persist_rules, &rule->list);
+		(void) LIST_ADDQ(&curproxy->persist_rules, &rule->list);
 	}
 	else if (!strcmp(args[0], "stick-table")) {
 		int myidx = 1;
@@ -3105,9 +3105,9 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 		rule->table.name = name ? strdup(name) : NULL;
 		LIST_INIT(&rule->list);
 		if (flags & STK_ON_RSP)
-			LIST_ADDQ(&curproxy->storersp_rules, &rule->list);
+			(void) LIST_ADDQ(&curproxy->storersp_rules, &rule->list);
 		else
-			LIST_ADDQ(&curproxy->sticking_rules, &rule->list);
+			(void) LIST_ADDQ(&curproxy->sticking_rules, &rule->list);
 	}
 	else if (!strcmp(args[0], "stats")) {
 		if (warnifnotcap(curproxy, PR_CAP_BE, file, linenum, args[0], NULL))
@@ -3153,7 +3153,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 			rule = (struct stats_admin_rule *)calloc(1, sizeof(*rule));
 			rule->cond = cond;
 			LIST_INIT(&rule->list);
-			LIST_ADDQ(&curproxy->uri_auth->admin_rules, &rule->list);
+			(void) LIST_ADDQ(&curproxy->uri_auth->admin_rules, &rule->list);
 		} else if (!strcmp(args[1], "uri")) {
 			if (*(args[2]) == 0) {
 				Alert("parsing [%s:%d] : 'uri' needs an URI prefix.\n", file, linenum);
@@ -3220,7 +3220,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 			err_code |= warnif_cond_conflicts(rule->cond,
 			                                  (curproxy->cap & PR_CAP_FE) ? SMP_VAL_FE_HRQ_HDR : SMP_VAL_BE_HRQ_HDR,
 			                                  file, linenum);
-			LIST_ADDQ(&curproxy->uri_auth->http_req_rules, &rule->list);
+			(void) LIST_ADDQ(&curproxy->uri_auth->http_req_rules, &rule->list);
 
 		} else if (!strcmp(args[1], "auth")) {
 			if (*(args[2]) == 0) {
@@ -3935,7 +3935,7 @@ stats_error_parsing:
 				err_code |= ERR_ALERT | ERR_FATAL;
 				goto out;
 			}
-			LIST_ADDQ(&curproxy->mon_fail_cond, &cond->list);
+			(void) LIST_ADDQ(&curproxy->mon_fail_cond, &cond->list);
 		}
 		else {
 			Alert("parsing [%s:%d] : '%s' only supports 'fail'.\n", file, linenum, args[0]);
@@ -4913,7 +4913,7 @@ stats_error_parsing:
 		}
 
 		list_for_each_entry_safe(tmplogsrv, back, &curproxy->logsrvs, list) {
-			LIST_DEL(&tmplogsrv->list);
+			(void) LIST_DEL(&tmplogsrv->list);
 			free(tmplogsrv);
 		}
 	}
@@ -4926,7 +4926,7 @@ stats_error_parsing:
 				struct logsrv *node = malloc(sizeof(struct logsrv));
 				memcpy(node, tmplogsrv, sizeof(struct logsrv));
 				LIST_INIT(&node->list);
-				LIST_ADDQ(&curproxy->logsrvs, &node->list);
+				(void) LIST_ADDQ(&curproxy->logsrvs, &node->list);
 			}
 		}
 		else if (*(args[1]) && *(args[2])) {
@@ -4986,7 +4986,7 @@ stats_error_parsing:
 					set_host_port(&logsrv->addr, SYSLOG_PORT);
 			}
 
-			LIST_ADDQ(&curproxy->logsrvs, &logsrv->list);
+			(void) LIST_ADDQ(&curproxy->logsrvs, &logsrv->list);
 		}
 		else {
 			Alert("parsing [%s:%d] : 'log' expects either <address[:port]> and <facility> or 'global' as arguments.\n",
@@ -5332,7 +5332,7 @@ stats_error_parsing:
 		wl = calloc(1, sizeof(*wl));
 		wl->cond = cond;
 		wl->s = strdup(args[1]);
-		LIST_ADDQ(&curproxy->req_add, &wl->list);
+		(void) LIST_ADDQ(&curproxy->req_add, &wl->list);
 		warnif_misplaced_reqadd(curproxy, file, linenum, args[0]);
 	}
 	else if (!strcmp(args[0], "srvexp") || !strcmp(args[0], "rsprep")) {  /* replace response header from a regex */
@@ -5429,7 +5429,7 @@ stats_error_parsing:
 		wl = calloc(1, sizeof(*wl));
 		wl->cond = cond;
 		wl->s = strdup(args[1]);
-		LIST_ADDQ(&curproxy->rsp_add, &wl->list);
+		(void) LIST_ADDQ(&curproxy->rsp_add, &wl->list);
 	}
 	else if (!strcmp(args[0], "errorloc") ||
 		 !strcmp(args[0], "errorloc302") ||
@@ -6469,7 +6469,7 @@ int check_config_validity()
 				break;
 			}
 
-			LIST_ADDQ(&curproxy->uri_auth->http_req_rules, &rule->list);
+			(void) LIST_ADDQ(&curproxy->uri_auth->http_req_rules, &rule->list);
 
 			if (curproxy->uri_auth->auth_realm) {
 				free(curproxy->uri_auth->auth_realm);
@@ -7282,7 +7282,7 @@ out_uri_auth_compat:
  */
 void cfg_register_keywords(struct cfg_kw_list *kwl)
 {
-	LIST_ADDQ(&cfg_keywords.list, &kwl->list);
+	(void) LIST_ADDQ(&cfg_keywords.list, &kwl->list);
 }
 
 /*
@@ -7290,7 +7290,7 @@ void cfg_register_keywords(struct cfg_kw_list *kwl)
  */
 void cfg_unregister_keywords(struct cfg_kw_list *kwl)
 {
-	LIST_DEL(&kwl->list);
+	(void) LIST_DEL(&kwl->list);
 	LIST_INIT(&kwl->list);
 }
 
diff --git a/src/dumpstats.c b/src/dumpstats.c
index 25f5441..d2064bd 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -3817,7 +3817,7 @@ static int stats_dump_sess_to_buffer(struct stream_interface *si)
 		 */
 		if (si->conn->xprt_st == STAT_ST_LIST) {
 			if (!LIST_ISEMPTY(&si->applet.ctx.sess.bref.users)) {
-				LIST_DEL(&si->applet.ctx.sess.bref.users);
+				(void) LIST_DEL(&si->applet.ctx.sess.bref.users);
 				LIST_INIT(&si->applet.ctx.sess.bref.users);
 			}
 		}
@@ -3843,7 +3843,7 @@ static int stats_dump_sess_to_buffer(struct stream_interface *si)
 	case STAT_ST_LIST:
 		/* first, let's detach the back-ref from a possible previous session */
 		if (!LIST_ISEMPTY(&si->applet.ctx.sess.bref.users)) {
-			LIST_DEL(&si->applet.ctx.sess.bref.users);
+			(void) LIST_DEL(&si->applet.ctx.sess.bref.users);
 			LIST_INIT(&si->applet.ctx.sess.bref.users);
 		}
 
@@ -3858,13 +3858,13 @@ static int stats_dump_sess_to_buffer(struct stream_interface *si)
 				if (si->applet.ctx.sess.target != (void *)-1 && si->applet.ctx.sess.target != curr_sess)
 					goto next_sess;
 
-				LIST_ADDQ(&curr_sess->back_refs, &si->applet.ctx.sess.bref.users);
+				(void) LIST_ADDQ(&curr_sess->back_refs, &si->applet.ctx.sess.bref.users);
 				/* call the proper dump() function and return if we're missing space */
 				if (!stats_dump_full_sess_to_buffer(si, curr_sess))
 					return 0;
 
 				/* session dump complete */
-				LIST_DEL(&si->applet.ctx.sess.bref.users);
+				(void) LIST_DEL(&si->applet.ctx.sess.bref.users);
 				LIST_INIT(&si->applet.ctx.sess.bref.users);
 				if (si->applet.ctx.sess.target != (void *)-1) {
 					si->applet.ctx.sess.target = NULL;
@@ -3983,7 +3983,7 @@ static int stats_dump_sess_to_buffer(struct stream_interface *si)
 				/* let's try again later from this session. We add ourselves into
 				 * this session's users so that it can remove us upon termination.
 				 */
-				LIST_ADDQ(&curr_sess->back_refs, &si->applet.ctx.sess.bref.users);
+				(void) LIST_ADDQ(&curr_sess->back_refs, &si->applet.ctx.sess.bref.users);
 				return 0;
 			}
 
@@ -4023,7 +4023,7 @@ static void cli_release_handler(struct stream_interface *si)
 {
 	if (si->applet.st0 == STAT_CLI_O_SESS && si->conn->xprt_st == STAT_ST_LIST) {
 		if (!LIST_ISEMPTY(&si->applet.ctx.sess.bref.users))
-			LIST_DEL(&si->applet.ctx.sess.bref.users);
+			(void) LIST_DEL(&si->applet.ctx.sess.bref.users);
 	}
 }
 
diff --git a/src/haproxy.c b/src/haproxy.c
index ac9fba1..b2fe840 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -636,7 +636,7 @@ void init(int argc, char **argv)
 						exit(1);
 					}
 					wl->s = *argv;
-					LIST_ADDQ(&cfg_cfgfiles, &wl->list);
+					(void) LIST_ADDQ(&cfg_cfgfiles, &wl->list);
 					break;
 				case 'p' : cfg_pidfile = *argv; break;
 				default: usage(progname);
@@ -877,10 +877,10 @@ static void deinit_acl_cond(struct acl_cond *cond)
 
 	list_for_each_entry_safe(suite, suiteb, &cond->suites, list) {
 		list_for_each_entry_safe(term, termb, &suite->terms, list) {
-			LIST_DEL(&term->list);
+			(void) LIST_DEL(&term->list);
 			free(term);
 		}
-		LIST_DEL(&suite->list);
+		(void) LIST_DEL(&suite->list);
 		free(suite);
 	}
 
@@ -892,7 +892,7 @@ static void deinit_tcp_rules(struct list *rules)
 	struct tcp_rule *trule, *truleb;
 
 	list_for_each_entry_safe(trule, truleb, rules, list) {
-		LIST_DEL(&trule->list);
+		(void) LIST_DEL(&trule->list);
 		deinit_acl_cond(trule->cond);
 		free(trule);
 	}
@@ -923,7 +923,7 @@ static void deinit_stick_rules(struct list *rules)
 	struct sticking_rule *rule, *ruleb;
 
 	list_for_each_entry_safe(rule, ruleb, rules, list) {
-		LIST_DEL(&rule->list);
+		(void) LIST_DEL(&rule->list);
 		deinit_acl_cond(rule->cond);
 		if (rule->expr) {
 			struct sample_conv_expr *conv_expr, *conv_exprb;
@@ -980,25 +980,25 @@ void deinit(void)
 			chunk_destroy(&p->errmsg[i]);
 
 		list_for_each_entry_safe(cwl, cwlb, &p->req_add, list) {
-			LIST_DEL(&cwl->list);
+			(void) LIST_DEL(&cwl->list);
 			free(cwl->s);
 			free(cwl);
 		}
 
 		list_for_each_entry_safe(cwl, cwlb, &p->rsp_add, list) {
-			LIST_DEL(&cwl->list);
+			(void) LIST_DEL(&cwl->list);
 			free(cwl->s);
 			free(cwl);
 		}
 
 		list_for_each_entry_safe(cond, condb, &p->block_cond, list) {
-			LIST_DEL(&cond->list);
+			(void) LIST_DEL(&cond->list);
 			prune_acl_cond(cond);
 			free(cond);
 		}
 
 		list_for_each_entry_safe(cond, condb, &p->mon_fail_cond, list) {
-			LIST_DEL(&cond->list);
+			(void) LIST_DEL(&cond->list);
 			prune_acl_cond(cond);
 			free(cond);
 		}
@@ -1046,27 +1046,27 @@ void deinit(void)
 		}
 
 		list_for_each_entry_safe(acl, aclb, &p->acl, list) {
-			LIST_DEL(&acl->list);
+			(void) LIST_DEL(&acl->list);
 			prune_acl(acl);
 			free(acl);
 		}
 
 		list_for_each_entry_safe(srule, sruleb, &p->server_rules, list) {
-			LIST_DEL(&srule->list);
+			(void) LIST_DEL(&srule->list);
 			prune_acl_cond(srule->cond);
 			free(srule->cond);
 			free(srule);
 		}
 
 		list_for_each_entry_safe(rule, ruleb, &p->switching_rules, list) {
-			LIST_DEL(&rule->list);
+			(void) LIST_DEL(&rule->list);
 			prune_acl_cond(rule->cond);
 			free(rule->cond);
 			free(rule);
 		}
 
 		list_for_each_entry_safe(rdr, rdrb, &p->redirect_rules, list) {
-			LIST_DEL(&rdr->list);
+			(void) LIST_DEL(&rdr->list);
 			if (rdr->cond) {
 				prune_acl_cond(rdr->cond);
 				free(rdr->cond);
@@ -1076,12 +1076,12 @@ void deinit(void)
 		}
 
 		list_for_each_entry_safe(log, logb, &p->logsrvs, list) {
-			LIST_DEL(&log->list);
+			(void) LIST_DEL(&log->list);
 			free(log);
 		}
 
 		list_for_each_entry_safe(lf, lfb, &p->logformat, list) {
-			LIST_DEL(&lf->list);
+			(void) LIST_DEL(&lf->list);
 			free(lf);
 		}
 
@@ -1136,8 +1136,8 @@ void deinit(void)
 		list_for_each_entry_safe(l, l_next, &p->conf.listeners, by_fe) {
 			unbind_listener(l);
 			delete_listener(l);
-			LIST_DEL(&l->by_fe);
-			LIST_DEL(&l->by_bind);
+			(void) LIST_DEL(&l->by_fe);
+			(void) LIST_DEL(&l->by_bind);
 			free(l->name);
 			free(l->counters);
 			free(l);
@@ -1154,7 +1154,7 @@ void deinit(void)
 #endif /* USE_OPENSSL */
 			free(bind_conf->file);
 			free(bind_conf->arg);
-			LIST_DEL(&bind_conf->by_fe);
+			(void) LIST_DEL(&bind_conf->by_fe);
 			free(bind_conf);
 		}
 
@@ -1203,11 +1203,11 @@ void deinit(void)
 	free(global_listener_queue_task); global_listener_queue_task = NULL;
 
 	list_for_each_entry_safe(log, logb, &global.logsrvs, list) {
-			LIST_DEL(&log->list);
+			(void) LIST_DEL(&log->list);
 			free(log);
 		}
 	list_for_each_entry_safe(wl, wlb, &cfg_cfgfiles, list) {
-		LIST_DEL(&wl->list);
+		(void) LIST_DEL(&wl->list);
 		free(wl);
 	}
 
diff --git a/src/listener.c b/src/listener.c
index 32b5bad..b8df1a7 100644
--- a/src/listener.c
+++ b/src/listener.c
@@ -63,7 +63,7 @@ void disable_listener(struct listener *listener)
 	if (listener->state == LI_READY)
 		fd_stop_recv(listener->fd);
 	if (listener->state == LI_LIMITED)
-		LIST_DEL(&listener->wait_queue);
+		(void) LIST_DEL(&listener->wait_queue);
 	listener->state = LI_LISTEN;
 }
 
@@ -91,7 +91,7 @@ int pause_listener(struct listener *l)
 	}
 
 	if (l->state == LI_LIMITED)
-		LIST_DEL(&l->wait_queue);
+		(void) LIST_DEL(&l->wait_queue);
 
 	fd_stop_recv(l->fd);
 	l->state = LI_PAUSED;
@@ -117,7 +117,7 @@ int resume_listener(struct listener *l)
 		return 1;
 
 	if (l->state == LI_LIMITED)
-		LIST_DEL(&l->wait_queue);
+		(void) LIST_DEL(&l->wait_queue);
 
 	if (l->nbconn >= l->maxconn) {
 		l->state = LI_FULL;
@@ -136,7 +136,7 @@ void listener_full(struct listener *l)
 {
 	if (l->state >= LI_READY) {
 		if (l->state == LI_LIMITED)
-			LIST_DEL(&l->wait_queue);
+			(void) LIST_DEL(&l->wait_queue);
 
 		fd_stop_recv(l->fd);
 		l->state = LI_FULL;
@@ -149,7 +149,7 @@ void listener_full(struct listener *l)
 void limit_listener(struct listener *l, struct list *list)
 {
 	if (l->state == LI_READY) {
-		LIST_ADDQ(list, &l->wait_queue);
+		(void) LIST_ADDQ(list, &l->wait_queue);
 		fd_stop_recv(l->fd);
 		l->state = LI_LIMITED;
 	}
@@ -209,7 +209,7 @@ int unbind_listener(struct listener *listener)
 		fd_stop_recv(listener->fd);
 
 	if (listener->state == LI_LIMITED)
-		LIST_DEL(&listener->wait_queue);
+		(void) LIST_DEL(&listener->wait_queue);
 
 	if (listener->state >= LI_PAUSED) {
 		fd_delete(listener->fd);
@@ -241,7 +241,7 @@ void delete_listener(struct listener *listener)
 	if (listener->state != LI_ASSIGNED)
 		return;
 	listener->state = LI_INIT;
-	LIST_DEL(&listener->proto_list);
+	(void) LIST_DEL(&listener->proto_list);
 	listener->proto->nb_listeners--;
 }
 
@@ -422,7 +422,7 @@ void listener_accept(int fd)
  */
 void bind_register_keywords(struct bind_kw_list *kwl)
 {
-	LIST_ADDQ(&bind_keywords.list, &kwl->list);
+	(void) LIST_ADDQ(&bind_keywords.list, &kwl->list);
 }
 
 /* Return a pointer to the bind keyword <kw>, or NULL if not found. If the
diff --git a/src/log.c b/src/log.c
index 020c381..65b5a8a 100644
--- a/src/log.c
+++ b/src/log.c
@@ -265,7 +265,7 @@ int parse_logformat_var(char *arg, int arg_len, char *var, int var_len, struct p
 						return -1;
 					}
 					curproxy->to_log |= logformat_keywords[j].lw;
-					LIST_ADDQ(list_format, &node->list);
+					(void) LIST_ADDQ(list_format, &node->list);
 				}
 				if (logformat_keywords[j].replace_by)
 					Warning("parsing [%s:%d] : deprecated variable '%s' in '%s', please replace it with '%s'\n",
@@ -311,11 +311,11 @@ void add_to_logformat_list(char *start, char *end, int type, struct list *list_f
 		str[end - start] = '\0';
 		node->arg = str;
 		node->type = LOG_FMT_TEXT; // type string
-		LIST_ADDQ(list_format, &node->list);
+		(void) LIST_ADDQ(list_format, &node->list);
 	} else if (type == LF_SEPARATOR) {
 		struct logformat_node *node = calloc(1, sizeof(struct logformat_node));
 		node->type = LOG_FMT_SEPARATOR;
-		LIST_ADDQ(list_format, &node->list);
+		(void) LIST_ADDQ(list_format, &node->list);
 	}
 }
 
@@ -372,7 +372,7 @@ void add_sample_to_logformat_list(char *text, char *arg, int arg_len, struct pro
 	 * leave with sample capabilities soon.
 	 */
 	curpx->to_log |= LW_XPRT;
-	LIST_ADDQ(list_format, &node->list);
+	(void) LIST_ADDQ(list_format, &node->list);
 }
 
 /*
@@ -403,7 +403,7 @@ void parse_logformat_string(const char *fmt, struct proxy *curproxy, struct list
 
 	/* flush the list first. */
 	list_for_each_entry_safe(tmplf, back, list_format, list) {
-		LIST_DEL(&tmplf->list);
+		(void) LIST_DEL(&tmplf->list);
 		free(tmplf);
 	}
 
diff --git a/src/memory.c b/src/memory.c
index 128f6ef..c7583c7 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -72,7 +72,7 @@ struct pool_head *create_pool(char *name, unsigned int size, unsigned int flags)
 			strlcpy2(pool->name, name, sizeof(pool->name));
 		pool->size = size;
 		pool->flags = flags;
-		LIST_ADDQ(start, &pool->list);
+		(void) LIST_ADDQ(start, &pool->list);
 	}
 	pool->users++;
 	return pool;
@@ -169,7 +169,7 @@ void *pool_destroy2(struct pool_head *pool)
 			return pool;
 		pool->users--;
 		if (!pool->users) {
-			LIST_DEL(&pool->list);
+			(void) LIST_DEL(&pool->list);
 			FREE(pool);
 		}
 	}
diff --git a/src/peers.c b/src/peers.c
index 5e4ff35..5efdb39 100644
--- a/src/peers.c
+++ b/src/peers.c
@@ -1104,7 +1104,7 @@ static struct session *peer_session_create(struct peer *peer, struct peer_sessio
 	if (unlikely((s->si[1].conn = pool_alloc2(pool2_connection)) == NULL))
 		goto out_fail_conn1;
 
-	LIST_ADDQ(&sessions, &s->list);
+	(void) LIST_ADDQ(&sessions, &s->list);
 	LIST_INIT(&s->back_refs);
 
 	s->flags = SN_ASSIGNED|SN_ADDR_SET;
@@ -1283,7 +1283,7 @@ static struct session *peer_session_create(struct peer *peer, struct peer_sessio
  out_fail_req:
 	task_free(t);
  out_free_session:
-	LIST_DEL(&s->list);
+	(void) LIST_DEL(&s->list);
 	pool_free2(pool2_connection, s->si[1].conn);
  out_fail_conn1:
 	pool_free2(pool2_connection, s->si[0].conn);
diff --git a/src/proto_http.c b/src/proto_http.c
index d1bf51e..988addd 100644
--- a/src/proto_http.c
+++ b/src/proto_http.c
@@ -8007,7 +8007,7 @@ void debug_hdr(const char *dir, struct session *t, const char *start, const char
 		if (start[max] == '\r' || start[max] == '\n')
 			break;
 
-	UBOUND(max, trash.size - trash.len - 3);
+	(void) UBOUND(max, trash.size - trash.len - 3);
 	trash.len += strlcpy2(trash.str + trash.len, start, max + 1);
 	trash.str[trash.len++] = '\n';
 	if (write(1, trash.str, trash.len) < 0) /* shut gcc warning */;
@@ -8142,7 +8142,7 @@ void free_http_req_rules(struct list *r) {
 	struct http_req_rule *tr, *pr;
 
 	list_for_each_entry_safe(pr, tr, r, list) {
-		LIST_DEL(&pr->list);
+		(void) LIST_DEL(&pr->list);
 		if (pr->action == HTTP_REQ_ACT_AUTH)
 			free(pr->arg.auth.realm);
 
diff --git a/src/proto_tcp.c b/src/proto_tcp.c
index 5638257..f55e130 100644
--- a/src/proto_tcp.c
+++ b/src/proto_tcp.c
@@ -808,7 +808,7 @@ void tcpv4_add_listener(struct listener *listener)
 		return;
 	listener->state = LI_ASSIGNED;
 	listener->proto = &proto_tcpv4;
-	LIST_ADDQ(&proto_tcpv4.listeners, &listener->proto_list);
+	(void) LIST_ADDQ(&proto_tcpv4.listeners, &listener->proto_list);
 	proto_tcpv4.nb_listeners++;
 }
 
@@ -822,7 +822,7 @@ void tcpv6_add_listener(struct listener *listener)
 		return;
 	listener->state = LI_ASSIGNED;
 	listener->proto = &proto_tcpv6;
-	LIST_ADDQ(&proto_tcpv6.listeners, &listener->proto_list);
+	(void) LIST_ADDQ(&proto_tcpv6.listeners, &listener->proto_list);
 	proto_tcpv6.nb_listeners++;
 }
 
@@ -1314,7 +1314,7 @@ static int tcp_parse_tcp_rep(char **args, int section_type, struct proxy *curpx,
 			warn++;
 		}
 
-		LIST_ADDQ(&curpx->tcp_rep.inspect_rules, &rule->list);
+		(void) LIST_ADDQ(&curpx->tcp_rep.inspect_rules, &rule->list);
 	}
 	else {
 		memprintf(err,
@@ -1423,7 +1423,7 @@ static int tcp_parse_tcp_req(char **args, int section_type, struct proxy *curpx,
 			warn++;
 		}
 
-		LIST_ADDQ(&curpx->tcp_req.inspect_rules, &rule->list);
+		(void) LIST_ADDQ(&curpx->tcp_req.inspect_rules, &rule->list);
 	}
 	else if (strcmp(args[1], "connection") == 0) {
 		arg++;
@@ -1466,7 +1466,7 @@ static int tcp_parse_tcp_req(char **args, int section_type, struct proxy *curpx,
 			warn++;
 		}
 
-		LIST_ADDQ(&curpx->tcp_req.l4_rules, &rule->list);
+		(void) LIST_ADDQ(&curpx->tcp_req.l4_rules, &rule->list);
 	}
 	else {
 		if (curpx == defpx)
diff --git a/src/proto_uxst.c b/src/proto_uxst.c
index 85eb3ee..b8ff992 100644
--- a/src/proto_uxst.c
+++ b/src/proto_uxst.c
@@ -343,7 +343,7 @@ void uxst_add_listener(struct listener *listener)
 		return;
 	listener->state = LI_ASSIGNED;
 	listener->proto = &proto_unix;
-	LIST_ADDQ(&proto_unix.listeners, &listener->proto_list);
+	(void) LIST_ADDQ(&proto_unix.listeners, &listener->proto_list);
 	proto_unix.nb_listeners++;
 }
 
diff --git a/src/protocol.c b/src/protocol.c
index 84d23da..3b369ad 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -23,7 +23,7 @@ static struct list protocols = LIST_HEAD_INIT(protocols);
 /* Registers the protocol <proto> */
 void protocol_register(struct protocol *proto)
 {
-	LIST_ADDQ(&protocols, &proto->list);
+	(void) LIST_ADDQ(&protocols, &proto->list);
 }
 
 /* Unregisters the protocol <proto>. Note that all listeners must have
@@ -31,7 +31,7 @@ void protocol_register(struct protocol *proto)
  */
 void protocol_unregister(struct protocol *proto)
 {
-	LIST_DEL(&proto->list);
+	(void) LIST_DEL(&proto->list);
 	LIST_INIT(&proto->list);
 }
 
diff --git a/src/queue.c b/src/queue.c
index abc0f8c..26ff1d7 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -151,13 +151,13 @@ struct pendconn *pendconn_add(struct session *sess)
 	p->srv = srv = objt_server(sess->target);
 
 	if (sess->flags & SN_ASSIGNED && srv) {
-		LIST_ADDQ(&srv->pendconns, &p->list);
+		(void) LIST_ADDQ(&srv->pendconns, &p->list);
 		srv->nbpend++;
 		sess->logs.srv_queue_size += srv->nbpend;
 		if (srv->nbpend > srv->counters.nbpend_max)
 			srv->counters.nbpend_max = srv->nbpend;
 	} else {
-		LIST_ADDQ(&sess->be->pendconns, &p->list);
+		(void) LIST_ADDQ(&sess->be->pendconns, &p->list);
 		sess->be->nbpend++;
 		sess->logs.prx_queue_size += sess->be->nbpend;
 		if (sess->be->nbpend > sess->be->be_counters.nbpend_max)
@@ -174,7 +174,7 @@ struct pendconn *pendconn_add(struct session *sess)
  */
 void pendconn_free(struct pendconn *p)
 {
-	LIST_DEL(&p->list);
+	(void) LIST_DEL(&p->list);
 	p->sess->pend_pos = NULL;
 	if (p->srv)
 		p->srv->nbpend--;
diff --git a/src/sample.c b/src/sample.c
index 753b457..b79c616 100644
--- a/src/sample.c
+++ b/src/sample.c
@@ -319,7 +319,7 @@ void sample_register_fetches(struct sample_fetch_kw_list *kwl)
 			if (sf->use & (1 << bit))
 				sf->val |= fetch_cap[bit];
 	}
-	LIST_ADDQ(&sample_fetches.list, &kwl->list);
+	(void) LIST_ADDQ(&sample_fetches.list, &kwl->list);
 }
 
 /*
@@ -328,7 +328,7 @@ void sample_register_fetches(struct sample_fetch_kw_list *kwl)
  */
 void sample_register_convs(struct sample_conv_kw_list *pckl)
 {
-	LIST_ADDQ(&sample_convs.list, &pckl->list);
+	(void) LIST_ADDQ(&sample_convs.list, &pckl->list);
 }
 
 /*
@@ -684,7 +684,7 @@ struct sample_expr *sample_parse_expr(char **str, int *idx, char *err, int err_s
 		if (!conv_expr)
 			goto out_error;
 
-		LIST_ADDQ(&(expr->conv_exprs), &(conv_expr->list));
+		(void) LIST_ADDQ(&(expr->conv_exprs), &(conv_expr->list));
 		conv_expr->conv = conv;
 
 		if (end != endw) {
@@ -997,7 +997,7 @@ int smp_resolve_args(struct proxy *p)
 			break;
 		}
 
-		LIST_DEL(&cur->list);
+		(void) LIST_DEL(&cur->list);
 		free(cur);
 	} /* end of args processing */
 
diff --git a/src/server.c b/src/server.c
index 98a9fbe..fb79ac8 100644
--- a/src/server.c
+++ b/src/server.c
@@ -47,7 +47,7 @@ int srv_getinter(struct server *s)
  */
 void srv_register_keywords(struct srv_kw_list *kwl)
 {
-	LIST_ADDQ(&srv_keywords.list, &kwl->list);
+	(void) LIST_ADDQ(&srv_keywords.list, &kwl->list);
 }
 
 /* Return a pointer to the server keyword <kw>, or NULL if not found. If the
diff --git a/src/session.c b/src/session.c
index d44583b..5fbcf9e 100644
--- a/src/session.c
+++ b/src/session.c
@@ -399,7 +399,7 @@ int session_complete(struct session *s)
 	ret = -1; /* assume unrecoverable error by default */
 
 	/* OK, we're keeping the session, so let's properly initialize the session */
-	LIST_ADDQ(&sessions, &s->list);
+	(void) LIST_ADDQ(&sessions, &s->list);
 	LIST_INIT(&s->back_refs);
 	si_takeover_conn(&s->si[0], l->proto, l->xprt);
 	s->flags |= SN_INITIALIZED;
@@ -656,13 +656,13 @@ static void session_free(struct session *s)
 		/* we have to unlink all watchers. We must not relink them if
 		 * this session was the last one in the list.
 		 */
-		LIST_DEL(&bref->users);
+		(void) LIST_DEL(&bref->users);
 		LIST_INIT(&bref->users);
 		if (s->list.n != &sessions)
-			LIST_ADDQ(&LIST_ELEM(s->list.n, struct session *, list)->back_refs, &bref->users);
+			(void) LIST_ADDQ(&LIST_ELEM(s->list.n, struct session *, list)->back_refs, &bref->users);
 		bref->ref = s->list.n;
 	}
-	LIST_DEL(&s->list);
+	(void) LIST_DEL(&s->list);
 	pool_free2(pool2_connection, s->si[1].conn);
 	pool_free2(pool2_connection, s->si[0].conn);
 	pool_free2(pool2_session, s);
diff --git a/src/sessionhash.c b/src/sessionhash.c
index 8068390..502fa66 100644
--- a/src/sessionhash.c
+++ b/src/sessionhash.c
@@ -53,7 +53,7 @@ void appsession_hash_insert(struct appsession_hash *hash, appsess *session)
 	unsigned int idx;
 
 	idx = appsession_hash_f(session->sessid);
-	LIST_ADDQ(&hash->table[idx], &session->hash_list);
+	(void) LIST_ADDQ(&hash->table[idx], &session->hash_list);
 }
 
 appsess *appsession_hash_lookup(struct appsession_hash *hash, char *sessid)
@@ -80,7 +80,7 @@ void appsession_hash_remove(struct appsession_hash *hash, appsess *session)
 	/* we don't even need to call _safe because we return at once */
 	list_for_each_entry(item, &hash->table[idx], hash_list) {
 		if (strcmp(item->sessid, session->sessid) == 0) {
-			LIST_DEL(&item->hash_list);
+			(void) LIST_DEL(&item->hash_list);
 			hash->destroy(item);
 			return;
 		}
@@ -100,7 +100,7 @@ void appsession_hash_destroy(struct appsession_hash *hash)
 			item = LIST_ELEM(hash->table[i].n, appsess *,
 					hash_list);
 			hash->destroy(item);
-			LIST_DEL(&item->hash_list);
+			(void) LIST_DEL(&item->hash_list);
 		}
 	}
 	free(hash->table);
diff --git a/src/signal.c b/src/signal.c
index e9301ed..b59b8c8 100644
--- a/src/signal.c
+++ b/src/signal.c
@@ -124,7 +124,7 @@ void deinit_signals()
 		if (sig != SIGPROF)
 			signal(sig, SIG_DFL);
 		list_for_each_entry_safe(sh, shb, &signal_state[sig].handlers, list) {
-			LIST_DEL(&sh->list);
+			(void) LIST_DEL(&sh->list);
 			pool_free2(pool2_sig_handlers, sh);
 		}
 	}
@@ -158,7 +158,7 @@ struct sig_handler *signal_register_fct(int sig, void (*fct)(struct sig_handler
 	sh->handler = fct;
 	sh->arg = arg;
 	sh->flags = SIG_F_TYPE_FCT;
-	LIST_ADDQ(&signal_state[sig].handlers, &sh->list);
+	(void) LIST_ADDQ(&signal_state[sig].handlers, &sh->list);
 	return sh;
 }
 
@@ -190,7 +190,7 @@ struct sig_handler *signal_register_task(int sig, struct task *task, int reason)
 	sh->handler = task;
 	sh->arg = reason & ~TASK_WOKEN_ANY;
 	sh->flags = SIG_F_TYPE_TASK;
-	LIST_ADDQ(&signal_state[sig].handlers, &sh->list);
+	(void) LIST_ADDQ(&signal_state[sig].handlers, &sh->list);
 	return sh;
 }
 
@@ -199,7 +199,7 @@ struct sig_handler *signal_register_task(int sig, struct task *task, int reason)
  */
 void signal_unregister_handler(struct sig_handler *handler)
 {
-	LIST_DEL(&handler->list);
+	(void) LIST_DEL(&handler->list);
 	pool_free2(pool2_sig_handlers, handler);
 }
 
@@ -221,7 +221,7 @@ void signal_unregister_target(int sig, void *target)
 
 	list_for_each_entry_safe(sh, shb, &signal_state[sig].handlers, list) {
 		if (sh->handler == target) {
-			LIST_DEL(&sh->list);
+			(void) LIST_DEL(&sh->list);
 			pool_free2(pool2_sig_handlers, sh);
 			break;
 		}
