summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/error.c b/error.c
index 0e8e17b195..662c6d4bee 100644
--- a/error.c
+++ b/error.c
@@ -2096,7 +2096,6 @@ rb_sys_warning(const char *fmt, ...)
if (!RTEST(ruby_verbose)) return;
- snprintf(buf, BUFSIZ, "warning: %s", fmt);
snprintf(buf+strlen(buf), BUFSIZ-strlen(buf), ": %s", strerror(errno_save));
va_start(args, fmt);