]> granicus.if.org Git - curl/commitdiff
smtp: fix compiler warning
authorDaniel Stenberg <daniel@haxx.se>
Wed, 18 Dec 2013 12:53:45 +0000 (13:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 18 Dec 2013 12:53:45 +0000 (13:53 +0100)
smtp.c:478:21: error: unused variable 'smtpc' [-Werror=unused-variable]

lib/smtp.c

index 334814a8a51b2c111da94a5d0c0dfc0ccd22c88f..07fec11f9c05f548353664d51cc7e1a9d1e24bb8 100644 (file)
@@ -475,7 +475,6 @@ static CURLcode smtp_perform_auth(struct connectdata *conn,
 static CURLcode smtp_perform_authentication(struct connectdata *conn)
 {
   CURLcode result = CURLE_OK;
-  struct smtp_conn *smtpc = &conn->proto.smtpc;
   const char *mech = NULL;
   char *initresp = NULL;
   size_t len = 0;