mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 06:38:37 -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:
parent
8a60fdaa57
commit
f789251ee4
@ -305,11 +305,13 @@ SshChannel *ssh2_serverside_x11_open(
|
|||||||
ConnectionLayer *cl, Channel *chan, const SocketPeerInfo *pi)
|
ConnectionLayer *cl, Channel *chan, const SocketPeerInfo *pi)
|
||||||
{
|
{
|
||||||
assert(FALSE && "Should never be called in the client");
|
assert(FALSE && "Should never be called in the client");
|
||||||
|
return 0; /* placate optimiser */
|
||||||
}
|
}
|
||||||
|
|
||||||
SshChannel *ssh2_serverside_agent_open(ConnectionLayer *cl, Channel *chan)
|
SshChannel *ssh2_serverside_agent_open(ConnectionLayer *cl, Channel *chan)
|
||||||
{
|
{
|
||||||
assert(FALSE && "Should never be called in the client");
|
assert(FALSE && "Should never be called in the client");
|
||||||
|
return 0; /* placate optimiser */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ssh2_channel_response(
|
static void ssh2_channel_response(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user