aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index e5f2c2fd99..96cbe39877 100644
--- a/vm.c
+++ b/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);
}