From: Aki Tuomi Date: Wed, 17 Jan 2018 08:06:25 +0000 (+0200) Subject: notify: Contexts are now required or checked X-Git-Tag: 2.3.1~258 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0333ab0d6b6f008d3a36acfc4e9758bbb1846725;p=thirdparty%2Fdovecot%2Fcore.git notify: Contexts are now required or checked Satisfied static analyzers --- diff --git a/src/plugins/notify/notify-storage.c b/src/plugins/notify/notify-storage.c index ba304f8ec9..0023e2af14 100644 --- a/src/plugins/notify/notify-storage.c +++ b/src/plugins/notify/notify-storage.c @@ -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);