From d567cc27913a45c893b4c091f84b496854d814e7 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 23 Jan 2018 10:51:26 +0200 Subject: [PATCH] push-notification: PUSH_NOTIFICATION_USER_CONTEXT is now required Satisfies static analyzers --- src/plugins/push-notification/push-notification-plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/push-notification/push-notification-plugin.c b/src/plugins/push-notification/push-notification-plugin.c index 2ab78a7f89..067cb7e058 100644 --- a/src/plugins/push-notification/push-notification-plugin.c +++ b/src/plugins/push-notification/push-notification-plugin.c @@ -22,7 +22,7 @@ #define PUSH_NOTIFICATION_CONFIG_OLD "push_notification_backend" #define PUSH_NOTIFICATION_USER_CONTEXT(obj) \ - MODULE_CONTEXT(obj, push_notification_user_module) + MODULE_CONTEXT_REQUIRE(obj, push_notification_user_module) static MODULE_CONTEXT_DEFINE_INIT(push_notification_user_module, &mail_user_module_register); static struct ioloop *main_ioloop; -- 2.47.3