mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix r60789.
* vm.c (rb_source_loc): fix condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8c15f40acf
commit
15abb96177
1 changed files with 1 additions and 1 deletions
2
vm.c
2
vm.c
|
@ -1301,7 +1301,7 @@ const char *
|
|||
rb_source_loc(int *pline)
|
||||
{
|
||||
VALUE path = rb_source_location(pline);
|
||||
if (!NIL_P(path)) return NULL;
|
||||
if (NIL_P(path)) return NULL;
|
||||
return RSTRING_PTR(path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue