Skip to content

Commit

Permalink
Merge pull request tmm1#6 from zenspider/master
Browse files Browse the repository at this point in the history
Quell warning in lineprof_ensure by returning self
  • Loading branch information
tmm1 committed Jan 21, 2013
2 parents a5149cb + 9ff9d53 commit 944fb32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/rblineprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ lineprof_ensure(VALUE self)
{
rb_remove_event_hook(profiler_hook);
rblineprof.enabled = false;
return self;
}

VALUE
Expand Down

0 comments on commit 944fb32

Please sign in to comment.