Permalink
Browse files

A couple of style nits

  • Loading branch information...
1 parent ca8dda4 commit 5121efb32fc90e5ba09b22133a89d1cfdc9421be @bsdphk bsdphk committed Dec 10, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −2 bin/varnishd/cache/cache_req_fsm.c
  2. +1 −0 bin/varnishd/cache/cache_vcl.c
@@ -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);

0 comments on commit 5121efb

Please sign in to comment.