Skip to content

Commit

Permalink
pop3-migration: 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 3c18b20 commit c0ffd52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/pop3-migration/pop3-migration-plugin.c
Expand Up @@ -17,9 +17,9 @@
#include "pop3-migration-plugin.h"

#define POP3_MIGRATION_CONTEXT(obj) \
MODULE_CONTEXT(obj, pop3_migration_storage_module)
MODULE_CONTEXT_REQUIRE(obj, pop3_migration_storage_module)
#define POP3_MIGRATION_MAIL_CONTEXT(obj) \
MODULE_CONTEXT(obj, pop3_migration_mail_module)
MODULE_CONTEXT_REQUIRE(obj, pop3_migration_mail_module)

struct msg_map_common {
/* sha1(header) - set only when needed */
Expand Down

0 comments on commit c0ffd52

Please sign in to comment.