9
0
Fork 0

Make sure the private data is initially NULL

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1293 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2008-11-20 14:13:04 +00:00
parent 1ef823b7ad
commit 5678cbefc7
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ static inline int poll_setup(FAR struct pollfd *fds, nfds_t nfds, sem_t *sem)
fds[i].sem = sem;
fds[i].revents = 0;
fds[i].private = NULL;
/* Set up the poll */