mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Fix a couple of benign compile warnings.
A function containing assert(FALSE && "Should never be called") doesn't _really_ need to return a value, but it makes compilers happier if it pretends to.
This commit is contained in:
parent
8a60fdaa57
commit
f789251ee4
@ -305,11 +305,13 @@ SshChannel *ssh2_serverside_x11_open(
|
||||
ConnectionLayer *cl, Channel *chan, const SocketPeerInfo *pi)
|
||||
{
|
||||
assert(FALSE && "Should never be called in the client");
|
||||
return 0; /* placate optimiser */
|
||||
}
|
||||
|
||||
SshChannel *ssh2_serverside_agent_open(ConnectionLayer *cl, Channel *chan)
|
||||
{
|
||||
assert(FALSE && "Should never be called in the client");
|
||||
return 0; /* placate optimiser */
|
||||
}
|
||||
|
||||
static void ssh2_channel_response(
|
||||
|
Loading…
Reference in New Issue
Block a user