commit e035ca4f0844b022399f82d323e3839c2f577e9a
parent 14b89d30c8ad53fb734a84a9696a71d46479b021
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:
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;