Skip to content

Commit 5fa5b50

Browse files
committed
eval_error.c: constify
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 37d6a4d commit 5fa5b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval_error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ error_print(void)
139139
warn_print("\n");
140140
}
141141
else {
142-
char *tail = 0;
142+
const char *tail = 0;
143143
long len = elen;
144144

145145
if (RSTRING_PTR(epath)[0] == '#')

0 commit comments

Comments
 (0)