Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

A couple of style nits

  • Loading branch information...
commit 5121efb32fc90e5ba09b22133a89d1cfdc9421be 1 parent ca8dda4
bsdphk authored December 10, 2012
4  bin/varnishd/cache/cache_req_fsm.c
@@ -215,7 +215,7 @@ cnt_deliver(struct worker *wrk, struct req *req)
215 215
 		assert(bo->state >= BOS_FAILED);
216 216
 
217 217
 		if (bo->state == BOS_FAILED) {
218  
-			HSH_Deref(&wrk->stats, NULL, &req->obj);
  218
+			(void)HSH_Deref(&wrk->stats, NULL, &req->obj);
219 219
 			VBO_DerefBusyObj(wrk, &req->busyobj);
220 220
 			req->err_code = 503;
221 221
 			req->req_step = R_STP_ERROR;
@@ -679,7 +679,7 @@ cnt_fetchbody(struct worker *wrk, struct req *req)
679 679
 		VBO_DerefBusyObj(wrk, &req->busyobj);
680 680
 	} else if (bo->state == BOS_FAILED) {
681 681
 		/* handle early failures */
682  
-		HSH_Deref(&wrk->stats, NULL, &req->obj);
  682
+		(void)HSH_Deref(&wrk->stats, NULL, &req->obj);
683 683
 		VBO_DerefBusyObj(wrk, &req->busyobj);
684 684
 		req->err_code = 503;
685 685
 		req->req_step = R_STP_ERROR;
1  bin/varnishd/cache/cache_vcl.c
@@ -282,6 +282,7 @@ ccf_config_discard(struct cli *cli, const char * const *av, void *priv)
282 282
 
283 283
 	ASSERT_CLI();
284 284
 	AZ(priv);
  285
+	(void)priv;
285 286
 	vcl = vcl_find(av[2]);
286 287
 	if (vcl == NULL) {
287 288
 		VCLI_SetResult(cli, CLIS_PARAM);

0 notes on commit 5121efb

Please sign in to comment.
Something went wrong with that request. Please try again.