smtp: Fix compiler warning
authorSteve Holme <steve_holme@hotmail.com>
Fri, 12 Apr 2013 23:06:19 +0000 (00:06 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 12 Apr 2013 23:06:19 +0000 (00:06 +0100)
warning: unused variable 'smtp' introduced in commit 73cbd21b5ee6.

lib/smtp.c

index ed7264b..4c293a4 100644 (file)
@@ -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];