Placate a compiler warning introduced in r6437.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 4 Nov 2005 23:21:42 +0000 (23:21 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 4 Nov 2005 23:21:42 +0000 (23:21 +0000)
(I forgot we usually compile with -Werror on Unix, oops.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@6446 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index 7936fd0..5ca5040 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()");
                }
            }