From 8d3e3056f75fbcd8e7db6cc396981750fb65806b Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 24 Dec 2017 17:43:30 -0500 Subject: fix red once more Change-Id: I6290cc6cca468c197656236d3dd31c3f72c53842 --- apps/plugins/lib/stdio_compat.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/plugins/lib/stdio_compat.c') diff --git a/apps/plugins/lib/stdio_compat.c b/apps/plugins/lib/stdio_compat.c index c1d5a7bc77..2adc4236d2 100644 --- a/apps/plugins/lib/stdio_compat.c +++ b/apps/plugins/lib/stdio_compat.c @@ -120,16 +120,11 @@ size_t _fwrite_(const void *ptr, size_t size, size_t nmemb, _FILE_ *stream) return ret / size; } -#if 0 /* stderr, stdout (disabled) */ else { - char buf[10]; - rb->snprintf(buf, 10, "%%%ds", (int)(size*nmemb)); - rb->splashf(HZ, buf, ptr); return size * nmemb; } -#endif } int _fseek_(_FILE_ *stream, long offset, int whence) -- cgit v1.2.3