Skip to content

Commit

Permalink
quota-clone: Contexts are now required or checked
Browse files Browse the repository at this point in the history
Satisfies static analyzers
  • Loading branch information
cmouse authored and mrannanj committed Feb 20, 2018
1 parent f81b662 commit afba4cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/quota-clone/quota-clone-plugin.c
Expand Up @@ -17,9 +17,9 @@
#define DICT_QUOTA_CLONE_COUNT_PATH DICT_QUOTA_CLONE_PATH"messages"

#define QUOTA_CLONE_USER_CONTEXT(obj) \
MODULE_CONTEXT(obj, quota_clone_user_module)
MODULE_CONTEXT_REQUIRE(obj, quota_clone_user_module)
#define QUOTA_CLONE_CONTEXT(obj) \
MODULE_CONTEXT(obj, quota_clone_storage_module)
MODULE_CONTEXT_REQUIRE(obj, quota_clone_storage_module)

static MODULE_CONTEXT_DEFINE_INIT(quota_clone_user_module,
&mail_user_module_register);
Expand Down

0 comments on commit afba4cf

Please sign in to comment.