mirror of https://github.com/moparisthebest/curl
smtp: Fix compiler warning
warning: unused variable 'smtp' introduced in commit 73cbd21b5e
.
This commit is contained in:
parent
73cbd21b5e
commit
ad3fdbc0a4
|
@ -1641,7 +1641,6 @@ static CURLcode smtp_parse_url_path(struct connectdata *conn)
|
||||||
{
|
{
|
||||||
/* The SMTP struct is already initialised in smtp_connect() */
|
/* The SMTP struct is already initialised in smtp_connect() */
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
struct SMTP *smtp = data->state.proto.smtp;
|
|
||||||
struct smtp_conn *smtpc = &conn->proto.smtpc;
|
struct smtp_conn *smtpc = &conn->proto.smtpc;
|
||||||
const char *path = data->state.path;
|
const char *path = data->state.path;
|
||||||
char localhost[HOSTNAME_MAX + 1];
|
char localhost[HOSTNAME_MAX + 1];
|
||||||
|
|
Loading…
Reference in New Issue