Skip to content

Commit

Permalink
tests: avoiding warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Grigorii Demidov committed Jun 2, 2015
1 parent 7a71aba commit 9e25121
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_integration.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9e25121

Please sign in to comment.