Commit 6ca37810 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Pål Hermunn Johansen

Minor flexelintery

parent 729f4b15
...@@ -1084,7 +1084,7 @@ VBF_Fetch(struct worker *wrk, struct req *req, struct objcore *oc, ...@@ -1084,7 +1084,7 @@ VBF_Fetch(struct worker *wrk, struct req *req, struct objcore *oc,
bo = NULL; /* ref transferred to fetch thread */ bo = NULL; /* ref transferred to fetch thread */
if (mode == VBF_BACKGROUND) { if (mode == VBF_BACKGROUND) {
ObjWaitState(oc, BOS_REQ_DONE); ObjWaitState(oc, BOS_REQ_DONE);
VRB_Ignore(req); (void)VRB_Ignore(req);
} else { } else {
ObjWaitState(oc, BOS_STREAM); ObjWaitState(oc, BOS_STREAM);
if (oc->boc->state == BOS_FAILED) { if (oc->boc->state == BOS_FAILED) {
......
...@@ -922,7 +922,7 @@ cnt_purge(struct worker *wrk, struct req *req) ...@@ -922,7 +922,7 @@ cnt_purge(struct worker *wrk, struct req *req)
CHECK_OBJ_NOTNULL(boc, OBJCORE_MAGIC); CHECK_OBJ_NOTNULL(boc, OBJCORE_MAGIC);
VRY_Finish(req, DISCARD); VRY_Finish(req, DISCARD);
HSH_Purge(wrk, boc->objhead, 0, 0, 0); (void)HSH_Purge(wrk, boc->objhead, 0, 0, 0);
AZ(HSH_DerefObjCore(wrk, &boc, 1)); AZ(HSH_DerefObjCore(wrk, &boc, 1));
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include "cache_director.h" #include "cache_director.h"
#include "vrt.h" #include "vrt.h"
#include "vrt_obj.h" #include "vrt_obj.h"
#include "vsha256.h"
static char vrt_hostname[255] = ""; static char vrt_hostname[255] = "";
...@@ -769,7 +768,7 @@ VRT_BODY_L(resp) ...@@ -769,7 +768,7 @@ VRT_BODY_L(resp)
/*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/
static struct vmod_priv * static struct vmod_priv *
vrt_do_blob(VRT_CTX, const char *err, uint8_t *src, size_t len) vrt_do_blob(VRT_CTX, const char *err, const uint8_t *src, size_t len)
{ {
struct vmod_priv *p; struct vmod_priv *p;
void *d; void *d;
......
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