s_metacache.clear();
}
-
+/* This function never fails, the return value is to simplify call chains
+ elsewhere so we can do mutate<cache> && clear<cache> */
bool DNSSECKeeper::clearKeyCache(const DNSName& name)
{
WriteLock l(&s_keycachelock);
void DNSSECKeeper::clearCaches(const DNSName& name)
{
- clearKeyCache(name);
- clearMetaCache(name);
+ (void)clearKeyCache(name);
+ (void)clearMetaCache(name);
}
bool DNSSECKeeper::addKey(const DNSName& name, const DNSSECPrivateKey& dpk, int64_t& id, bool active, bool published)