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

tests: avoiding warnings

parent 7a71abac
Branches
Tags
No related merge requests found
......@@ -73,6 +73,8 @@ static PyObject* init(PyObject* self, PyObject* args)
opts.mapsize = 100 * 4096;
int ret = kr_cache_open(&global_context.cache, NULL, &opts, &global_mm);
assert(ret == 0);
if (ret != 0)
return NULL;
/* 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