Skip to content
Snippets Groups Projects
Commit 8790b6f4 authored by Grigorii Demidov's avatar Grigorii Demidov
Browse files

tests: avoiding warnings

parent 26bf512a
Branches
Tags
No related merge requests found
......@@ -71,8 +71,7 @@ static PyObject* init(PyObject* self, PyObject* args)
memset(&opts, 0, sizeof(opts));
opts.path = global_tmpdir;
opts.mapsize = 100 * 4096;
int ret = kr_cache_open(&global_context.cache, NULL, &opts, &global_mm);
assert(ret == 0);
assert(kr_cache_open(&global_context.cache, NULL, &opts, &global_mm) == 0);
/* No configuration parsing support yet. */
if (strstr(config, "query-minimization: on") == NULL) {
......
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