projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73cbd21
)
smtp: Fix compiler warning
author
Steve Holme
<steve_holme@hotmail.com>
Fri, 12 Apr 2013 23:06:19 +0000
(
00:06
+0100)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/lib/smtp.c
b/lib/smtp.c
index
ed7264b
..
4c293a4
100644
(file)
--- 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];