}
/* Clear a sub-tree in cache. */
- const char *args = lua_tostring(L, 1);
+ //const char *args = lua_tostring(L, 1);
/* Retrieve set of keys */
static knot_db_val_t result_set[100];
int ret = kr_error(ENOSYS); // FIXME cache_prefixed(cache, args, result_set, 100);
continue;
}
int ret = kr_zonecut_add(cut, ns_name, NULL);
- assert(!ret);
+ assert(!ret); (void)ret;
/* Choose when to use glue records. */
bool in_bailiwick = knot_dname_in(current_cut, ns_name);
static void fetch_addr(struct kr_zonecut *cut, struct kr_cache *cache, const knot_dname_t *ns, uint16_t rrtype, uint32_t timestamp)
// LATER(optim.): excessive data copying
{
- uint8_t rank = 0;
struct kr_cache_p peek = {};
if (kr_cache_peek_exact(cache, ns, rrtype, &peek) != 0) {
return;