1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Fix warning about uninitialized variable.

Some MinGW versions do not know that assert(0) never returns. This
change also handles the case of building with NDEBUG.
This commit is contained in:
Tim Kosse 2015-08-11 10:44:00 +02:00 committed by Simon Tatham
parent 5f37d92450
commit 05c7678fdb

View File

@ -886,6 +886,8 @@ struct ssh2_userkey *openssh_pem_read(const Filename *filename,
} else {
assert(0 && "Bad key type from load_openssh_pem_key");
errmsg = "Bad key type from load_openssh_pem_key";
goto error;
}
/*