email: Removed unnecessary return statements

Small tidy up to remove unnecessary return statements prior to the next
fix.
This commit is contained in:
Steve Holme 2013-01-23 21:59:56 +00:00
parent f2f897172f
commit 6a55f25f67
3 changed files with 2 additions and 8 deletions

View File

@ -629,7 +629,7 @@ static CURLcode imap_state_starttls_resp(struct connectdata *conn,
}
else {
state(conn, IMAP_UPGRADETLS);
return imap_state_upgrade_tls(conn);
result = imap_state_upgrade_tls(conn);
}
return result;
@ -1628,8 +1628,6 @@ static CURLcode imap_regular_transfer(struct connectdata *conn,
return CURLE_OK;
result = imap_dophase_done(conn, connected);
if(result)
return result;
}
return result;

View File

@ -1608,8 +1608,6 @@ static CURLcode pop3_regular_transfer(struct connectdata *conn,
return CURLE_OK;
result = pop3_dophase_done(conn, connected);
if(result)
return result;
}
return result;

View File

@ -492,7 +492,7 @@ static CURLcode smtp_state_starttls_resp(struct connectdata *conn,
}
else {
state(conn, SMTP_UPGRADETLS);
return smtp_state_upgrade_tls(conn);
result = smtp_state_upgrade_tls(conn);
}
return result;
@ -1599,8 +1599,6 @@ static CURLcode smtp_regular_transfer(struct connectdata *conn,
return CURLE_OK;
result = smtp_dophase_done(conn, connected);
if(result)
return result;
}
return result;