Fix a warning when STDIO buffering is disabled

This commit is contained in:
Gregory Nutt 2017-02-27 11:06:13 -06:00
parent 8ff7e5106d
commit 4fa389898a

View File

@ -277,7 +277,7 @@ FAR struct file_struct *fs_fdopen(int fd, int oflags, FAR struct tcb_s *tcb)
errcode = ENFILE; errcode = ENFILE;
#if CONFIG_STDIO_BUFFER_SIZE > 0 #if !defined(CONFIG_STDIO_DISABLE_BUFFERING) && CONFIG_STDIO_BUFFER_SIZE > 0
errout_with_sem: errout_with_sem:
#endif #endif
sem_post(&slist->sl_sem); sem_post(&slist->sl_sem);