summaryrefslogtreecommitdiff
path: root/libc/stdio/fflush.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-12-28 23:05:39 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-28 23:05:39 -0600
commitc5722d63ede04b656c7ac8607d075db576a226d8 (patch)
treec9ec93c8e50ad8ff6468c17dd0a54ddae32bd4f6 /libc/stdio/fflush.c
parent6fc08ddc732c8c0a56391d30d4e86aa46bda5495 (diff)
reduce some unneeded warnings.
Diffstat (limited to 'libc/stdio/fflush.c')
-rw-r--r--libc/stdio/fflush.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/stdio/fflush.c b/libc/stdio/fflush.c
index d9104a42f..cf0356a38 100644
--- a/libc/stdio/fflush.c
+++ b/libc/stdio/fflush.c
@@ -97,8 +97,6 @@ int fflush_unlocked(register FILE *stream)
while(stream) {
/* We only care about currently writing streams and do not want to
* block trying to obtain mutexes on non-writing streams. */
-#warning fix for nonatomic
-#warning unnecessary check if no threads
if (__STDIO_STREAM_IS_WRITING(stream)) { /* ONLY IF ATOMIC!!! */
__MY_STDIO_THREADLOCK(stream);
/* Need to check again once we have the lock. */