]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Placate a compiler warning introduced in r6437.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 4 Nov 2005 23:21:42 +0000 (23:21 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 4 Nov 2005 23:21:42 +0000 (23:21 +0000)
(I forgot we usually compile with -Werror on Unix, oops.)

[originally from svn r6446]
[r6437 == 8719f92c1426609de7ead4a490a15d1d18875f53]

ssh.c

diff --git a/ssh.c b/ssh.c
index 7936fd0e1fe23aa20d8f9ef9ef1e0554fc35d101..5ca504026c36f7ddb360a509cca3021fd0b78b74 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -3462,6 +3462,8 @@ static int do_ssh1_login(Ssh ssh, unsigned char *in, int inlen,
                    s->tried_publickey = 0;
                    got_passphrase = FALSE;
                    /* and try again */
+               } else {
+                   assert(0 && "unexpected return from loadrsakey()");
                }
            }