diff --git a/eval_error.c b/eval_error.c index f69243e21d..abbb708bd5 100644 --- a/eval_error.c +++ b/eval_error.c @@ -189,7 +189,6 @@ rb_decorate_message(const VALUE eclass, const VALUE emesg, int highlight) einfo = tail; write_warn2(str, "\n", 1); while (elen > 0) { - write_warn2(str, "\n", 1); tail = memchr(einfo, '\n', elen); if (!tail || tail > einfo) { write_warn(str, bold);