Reformat and initialize pointers

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2022-10-31 16:08:53 +01:00
parent 0c64a62fb7
commit 8f7c179bed
4 changed files with 22 additions and 13 deletions

View File

@@ -621,7 +621,7 @@ int ssh_poll_ctx_add(ssh_poll_ctx ctx, ssh_poll_handle p)
*/
int ssh_poll_ctx_add_socket (ssh_poll_ctx ctx, ssh_socket s)
{
ssh_poll_handle p;
ssh_poll_handle p = NULL;
int ret;
p = ssh_socket_get_poll_handle(s);