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:
rfm 2013-04-14 09:04:40 +00:00
parent 4ae6afbfc6
commit d68d872655
10 changed files with 110 additions and 97 deletions

View file

@ -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)
{