thash: suppress coverity fp's

pull/4864/head
Victor Julien 6 years ago
parent b0c79c6996
commit b763885d1b

@ -590,6 +590,7 @@ THashGetFromHash (THashTableContext *ctx, void *data)
HRLOCK_UNLOCK(hb); HRLOCK_UNLOCK(hb);
res.data = h; res.data = h;
res.is_new = false; res.is_new = false;
/* coverity[missing_unlock : FALSE] */
return res; return res;
} }
} }
@ -601,6 +602,7 @@ THashGetFromHash (THashTableContext *ctx, void *data)
HRLOCK_UNLOCK(hb); HRLOCK_UNLOCK(hb);
res.data = h; res.data = h;
res.is_new = false; res.is_new = false;
/* coverity[missing_unlock : FALSE] */
return res; return res;
} }

Loading…
Cancel
Save