Skip to content

Commit

Permalink
notify: Contexts are now required or checked
Browse files Browse the repository at this point in the history
Satisfied static analyzers
  • Loading branch information
cmouse authored and mrannanj committed Feb 20, 2018
1 parent c0ffd52 commit 0333ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/notify/notify-storage.c
Expand Up @@ -7,9 +7,9 @@
#include "notify-plugin-private.h"

#define NOTIFY_CONTEXT(obj) \
MODULE_CONTEXT(obj, notify_storage_module)
MODULE_CONTEXT_REQUIRE(obj, notify_storage_module)
#define NOTIFY_MAIL_CONTEXT(obj) \
MODULE_CONTEXT(obj, notify_mail_module)
MODULE_CONTEXT_REQUIRE(obj, notify_mail_module)

static MODULE_CONTEXT_DEFINE_INIT(notify_storage_module,
&mail_storage_module_register);
Expand Down

0 comments on commit 0333ab0

Please sign in to comment.