summaryrefslogtreecommitdiff
path: root/eval_error.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-15 19:31:48 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-15 19:39:47 +0900
commit0c6c937904aafc1809386bd892a2d114d22d01fe (patch)
tree15041535e5c64cddb0de4e6519211f9f9f80abf4 /eval_error.c
parentb452c03a14f943ae25338547bd680fce67399d85 (diff)
downloadruby-0c6c937904aafc1809386bd892a2d114d22d01fe.tar.gz
Removed duplicate highlighting
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/eval_error.c b/eval_error.c
index 6132cbe8c8..17c0e865b9 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -144,8 +144,6 @@ print_errinfo(const VALUE eclass, const VALUE errat, const VALUE emesg, const VA
write_warn(str, ": ");
}
- if (highlight) write_warn(str, bold);
-
if (!NIL_P(emesg)) {
einfo = RSTRING_PTR(emesg);
elen = RSTRING_LEN(emesg);