summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_init.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-10 23:19:07 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-10 23:19:07 +0000
commitfca8049832b607144e4b68d2ec3022eb0385ae86 (patch)
tree3d15fbdf753478c2135721880c105c21b6afd3c4 /nuttx/lib/lib_init.c
parentea226482489e8bb77db070d6effe6de2dba32bbf (diff)
downloadpx4-nuttx-fca8049832b607144e4b68d2ec3022eb0385ae86.tar.gz
px4-nuttx-fca8049832b607144e4b68d2ec3022eb0385ae86.tar.bz2
px4-nuttx-fca8049832b607144e4b68d2ec3022eb0385ae86.zip
Eliminate warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1186 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/lib_init.c')
-rw-r--r--nuttx/lib/lib_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/lib/lib_init.c b/nuttx/lib/lib_init.c
index 05d513bb9..19222535d 100644
--- a/nuttx/lib/lib_init.c
+++ b/nuttx/lib/lib_init.c
@@ -168,8 +168,9 @@ void lib_releaselist(FAR struct streamlist *list)
if (crefs <= 0)
{
+#if CONFIG_STDIO_BUFFER_SIZE > 0
int i;
-
+#endif
/* Destroy the semaphore and release the filelist */
(void)sem_destroy(&list->sl_sem);