summaryrefslogtreecommitdiff
path: root/nuttx/fs/aio/aio_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/aio/aio_read.c')
-rw-r--r--nuttx/fs/aio/aio_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/aio/aio_read.c b/nuttx/fs/aio/aio_read.c
index 104895436..fd05edbc6 100644
--- a/nuttx/fs/aio/aio_read.c
+++ b/nuttx/fs/aio/aio_read.c
@@ -96,7 +96,7 @@ static void aio_read_worker(FAR void *arg)
#ifdef CONFIG_PRIORITY_INHERITANCE
uint8_t prio;
#endif
- ssize_t nread;
+ ssize_t nread = 0;
/* Get the information from the container, decant the AIO control block,
* and free the container before starting any I/O. That will minimize