aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-04-13 00:06:19 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-04-13 00:06:19 +0100
commitad3fdbc0a46e8cdb0ce19df17a278309c2cfb2cf (patch)
tree10870c76eca25e00c672a86af14e7947e9389fe3
parent73cbd21b5ee6e3fc1acfea8529d4292b73a5e9d6 (diff)
smtp: Fix compiler warning
warning: unused variable 'smtp' introduced in commit 73cbd21b5ee6.
-rw-r--r--lib/smtp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/smtp.c b/lib/smtp.c
index ed7264b6d..4c293a426 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -1641,7 +1641,6 @@ static CURLcode smtp_parse_url_path(struct connectdata *conn)
{
/* The SMTP struct is already initialised in smtp_connect() */
struct SessionHandle *data = conn->data;
- struct SMTP *smtp = data->state.proto.smtp;
struct smtp_conn *smtpc = &conn->proto.smtpc;
const char *path = data->state.path;
char localhost[HOSTNAME_MAX + 1];