mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
static analyzer tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36523 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4ae6afbfc6
commit
d68d872655
10 changed files with 110 additions and 97 deletions
|
@ -2289,6 +2289,7 @@ handle_accept()
|
|||
socklen_t len = sizeof(sa);
|
||||
int desc;
|
||||
|
||||
memset(&sa, '\0', len);
|
||||
desc = accept(tcp_desc, (void*)&sa, &len);
|
||||
if (desc >= 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue