Skip to content

Commit

Permalink
lib-dict: Ensure init returns dict
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse authored and sirainen committed Mar 21, 2017
1 parent 2c182e0 commit 9945103
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib-dict/dict.c
Expand Up @@ -90,6 +90,8 @@ int dict_init_full(const char *uri, const struct dict_settings *set,
*error_r = t_strdup_printf("dict %s: %s", name, error);
return -1;
}
i_assert(*dict_r != NULL);

return 0;
}

Expand Down

0 comments on commit 9945103

Please sign in to comment.