mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05: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:
@ -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(
|
||||
|
Reference in New Issue
Block a user