hermes.c, main.c: drop unused variables
This commit is contained in:
parent
14f8ed1b45
commit
df82141618
2
hermes.c
2
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. */
|
||||
|
||||
3
main.c
3
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. */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user