Message ID | 1442370211-4510-1-git-send-email-idealities@gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/libc/stdio/fflush.c b/libc/stdio/fflush.c index d9104a4..d47d070 100644 --- a/libc/stdio/fflush.c +++ b/libc/stdio/fflush.c @@ -140,12 +140,6 @@ int fflush_unlocked(register FILE *stream) } #endif -#ifndef NDEBUG - if ((stream != NULL) && (stream != (FILE *) &_stdio_openlist)) { - __STDIO_STREAM_VALIDATE(stream); /* debugging only */ - } -#endif - return retval; #else /* __STDIO_BUFFERS --------------------------------------- */
remove duplicate validation of stream Signed-off-by: ideal <idealities@gmail.com> --- libc/stdio/fflush.c | 6 ------ 1 file changed, 6 deletions(-)