Fix compiles on GCC 3.3, which doesn't know about assert(0);
[u/mdw/putty] / ssh.c
diff --git a/ssh.c b/ssh.c
index d6bc812..137e460 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -3564,6 +3564,7 @@ static int do_ssh1_login(Ssh ssh, unsigned char *in, int inlen,
                    /* and try again */
                } else {
                    assert(0 && "unexpected return from loadrsakey()");
+                   got_passphrase = FALSE;   /* placate optimisers */
                }
            }