summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_libflushall.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/lib_libflushall.c')
-rw-r--r--nuttx/lib/lib_libflushall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/lib_libflushall.c b/nuttx/lib/lib_libflushall.c
index 7ba72dc7a..16ee4f7a9 100644
--- a/nuttx/lib/lib_libflushall.c
+++ b/nuttx/lib/lib_libflushall.c
@@ -95,7 +95,7 @@
int lib_flushall(FAR struct streamlist *list)
{
int lasterrno = OK;
- int ret;
+ int ret = OK;
/* Make sure that there are streams associated with this thread */