talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit f66f33e401447ef3c5638d115929f8e8fc36baee
parent 7d4d2199593a85aefee2fb3d9a6645451c35196a
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Wed,  1 May 2019 12:44:20 +0200

Fix CID 1444847 - Uninitialized variables in sock_close()

Diffstat:
Msrc/common/socket.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/socket.c b/src/common/socket.c @@ -1488,7 +1488,7 @@ Single-byte send() and recv(). gint sock_close(SockInfo *sock, gboolean close_fd) { - gint ret; + gint ret = 0; if (!sock) return 0;