diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-28 23:05:39 -0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-28 23:05:39 -0600 |
commit | c5722d63ede04b656c7ac8607d075db576a226d8 (patch) | |
tree | c9ec93c8e50ad8ff6468c17dd0a54ddae32bd4f6 /libc/stdio/fflush.c | |
parent | 6fc08ddc732c8c0a56391d30d4e86aa46bda5495 (diff) |
reduce some unneeded warnings.
Diffstat (limited to 'libc/stdio/fflush.c')
-rw-r--r-- | libc/stdio/fflush.c | 2 |
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. */ |