hermes.c, main.c: drop unused variables

This commit is contained in:
Peter Simons 2013-02-09 19:04:18 +01:00
parent 14f8ed1b45
commit df82141618
2 changed files with 0 additions and 5 deletions

View File

@ -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. */

3
main.c
View File

@ -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. */