summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/fs_poll.c')
-rw-r--r--nuttx/fs/fs_poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fs_poll.c b/nuttx/fs/fs_poll.c
index 20a16e3e8..f5aa9dcf0 100644
--- a/nuttx/fs/fs_poll.c
+++ b/nuttx/fs/fs_poll.c
@@ -279,7 +279,7 @@ int poll(FAR struct pollfd *fds, nfds_t nfds, int timeout)
{
WDOG_ID wdog;
sem_t sem;
- int count;
+ int count = 0;
int ret;
sem_init(&sem, 0, 0);