mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 09:37:34 -05:00
Add a missing initialisation.
The variable 'toret' in ssh2_transport_get_specials would have been returned while uninitialised in the case where neither of the if statements in the function set it to true.
This commit is contained in:
@ -1803,7 +1803,7 @@ static bool ssh2_transport_get_specials(
|
||||
struct ssh2_transport_state *s =
|
||||
container_of(ppl, struct ssh2_transport_state, ppl);
|
||||
bool need_separator = false;
|
||||
bool toret;
|
||||
bool toret = false;
|
||||
|
||||
if (ssh_ppl_get_specials(s->higher_layer, add_special, ctx)) {
|
||||
need_separator = true;
|
||||
|
Reference in New Issue
Block a user