diff --git a/hermes.c b/hermes.c index 9f0cf3b..1e5f040 100644 --- a/hermes.c +++ b/hermes.c @@ -26,7 +26,6 @@ void hermes_main(char * incoming_mail, const char * listname) { - const struct PD_Config * MasterConfig; const struct List_Config * ListConfig; struct stat sb; struct Mail * MailStruct; @@ -45,7 +44,6 @@ void hermes_main(char * incoming_mail, const char * listname) /* Initialize internals. */ - MasterConfig = getMasterConfig(); ListConfig = getListConfig(listname); /* Parse the incoming mail. */ diff --git a/main.c b/main.c index c8bff14..bbd3ec0 100644 --- a/main.c +++ b/main.c @@ -41,7 +41,6 @@ const char* who_am_i; int main(int argc, char * argv[]) { - const struct PD_Config * MasterConfig; char * incoming_mail; argv_t args[] = { @@ -108,7 +107,6 @@ main(int argc, char * argv[]) fprintf(stderr, "petidomo: failed load master configuration.\n"); exit(EXIT_FAILURE); } - MasterConfig = getMasterConfig(); ListConfig = getListConfig(listname); if ((cp = loadfile(ListConfig->address_file)) == NULL) { @@ -132,7 +130,6 @@ main(int argc, char * argv[]) syslog(LOG_CRIT, "Failed to initialize my internals."); exit(EXIT_FAILURE); } - MasterConfig = getMasterConfig(); /* Load the file from standard input and save it, so that it isn't lost in case of an error. */