Commit a390e080 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Attempt again to silence coverity

parent 36225f2e
......@@ -208,6 +208,7 @@ EXP_Insert(struct worker *wrk, struct objcore *oc)
if (remove_race) {
ObjSendEvent(wrk, oc, OEV_EXPIRE);
tmpoc = oc;
assert(oc->refcnt >= 2); /* Silence coverity */
(void)HSH_DerefObjCore(wrk, &tmpoc, 0);
AZ(tmpoc);
assert(oc->refcnt >= 1); /* Silence coverity */
......
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