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 | 5044db7bca35a4b372ea2898e6d2e037a138f39d (patch) | |
tree | 911f9d75aa457a36bff744ca1f79e75cffa62297 /vm.c | |
parent | 7db6e5c3198715aa4f6b8f4f9dcff7cc4b637eca (diff) | |
download | ruby-5044db7bca35a4b372ea2898e6d2e037a138f39d.tar.gz |
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); } |