Commit 5121efb3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

A couple of style nits

parent ca8dda44
......@@ -215,7 +215,7 @@ cnt_deliver(struct worker *wrk, struct req *req)
assert(bo->state >= BOS_FAILED);
if (bo->state == BOS_FAILED) {
HSH_Deref(&wrk->stats, NULL, &req->obj);
(void)HSH_Deref(&wrk->stats, NULL, &req->obj);
VBO_DerefBusyObj(wrk, &req->busyobj);
req->err_code = 503;
req->req_step = R_STP_ERROR;
......@@ -679,7 +679,7 @@ cnt_fetchbody(struct worker *wrk, struct req *req)
VBO_DerefBusyObj(wrk, &req->busyobj);
} else if (bo->state == BOS_FAILED) {
/* handle early failures */
HSH_Deref(&wrk->stats, NULL, &req->obj);
(void)HSH_Deref(&wrk->stats, NULL, &req->obj);
VBO_DerefBusyObj(wrk, &req->busyobj);
req->err_code = 503;
req->req_step = R_STP_ERROR;
......
......@@ -282,6 +282,7 @@ ccf_config_discard(struct cli *cli, const char * const *av, void *priv)
ASSERT_CLI();
AZ(priv);
(void)priv;
vcl = vcl_find(av[2]);
if (vcl == NULL) {
VCLI_SetResult(cli, CLIS_PARAM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment