diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-16 05:45:44 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-16 05:45:44 +0000 |
commit | 15abb96177f389efb5edbae1bf5fc7e39787610c (patch) | |
tree | 911f9d75aa457a36bff744ca1f79e75cffa62297 /vm.c | |
parent | 8c15f40acfd4171419d15b2516674a067d7d999f (diff) |
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
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |