From: Daniel Stenberg Date: Fri, 3 Oct 2014 21:30:05 +0000 (+0200) Subject: ssh: comment "fallthrough" in switch statement X-Git-Tag: curl-7_39_0~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d57f7d586bcdbc49cc8a083266cd0baaf6d8b18e;p=curl ssh: comment "fallthrough" in switch statement --- diff --git a/lib/ssh.c b/lib/ssh.c index 76389a036..f468e4c84 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -588,8 +588,10 @@ static CURLcode ssh_knownhost(struct connectdata *conn) switch(rc) { default: /* unknown return codes will equal reject */ + /* FALLTHROUGH */ case CURLKHSTAT_REJECT: state(conn, SSH_SESSION_FREE); + /* FALLTHROUGH */ case CURLKHSTAT_DEFER: /* DEFER means bail out but keep the SSH_HOSTKEY state */ result = sshc->actualcode = CURLE_PEER_FAILED_VERIFICATION;