mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Fix a warning when STDIO buffering is disabled
This commit is contained in:
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user