Commit 7cd17edd 7cd17eddb7b67456ab83f3cc8eecbf6d19fe4fe6 by Sergey Poznyakoff

(header): Removed unused global

1 parent 4d64d522
...@@ -71,7 +71,6 @@ char *from_person = NULL; /* Set the name of the `from' person */ ...@@ -71,7 +71,6 @@ char *from_person = NULL; /* Set the name of the `from' person */
71 int read_recipients = 0; /* Read the message for recipients */ 71 int read_recipients = 0; /* Read the message for recipients */
72 int dot = 1; /* Message is terminated by a lone dot on a line */ 72 int dot = 1; /* Message is terminated by a lone dot on a line */
73 73
74 header_t header;
75 address_t recipients = NULL; 74 address_t recipients = NULL;
76 char *progname; 75 char *progname;
77 76
...@@ -157,13 +156,6 @@ main (int argc, char **argv) ...@@ -157,13 +156,6 @@ main (int argc, char **argv)
157 domain = getenv ("MTA_DOMAIN"); 156 domain = getenv ("MTA_DOMAIN");
158 mu_set_user_email_domain (domain ? domain : "localhost"); 157 mu_set_user_email_domain (domain ? domain : "localhost");
159 158
160 if ((status = header_create (&header, NULL, 0, NULL)) != 0)
161 {
162 mu_error ("%s: can't create header: %s",
163 progname, mu_strerror (status));
164 return 1;
165 }
166
167 argc -= optind; 159 argc -= optind;
168 argv += optind; 160 argv += optind;
169 if (smtp_mode) 161 if (smtp_mode)
......