diff options
| author | Jun Hiroe <[email protected]> | 2014-05-03 01:41:41 +0900 |
|---|---|---|
| committer | Jun Hiroe <[email protected]> | 2014-05-03 01:41:41 +0900 |
| commit | 1aa885fae0fd870c2f2bc862daa14ad24f4e92eb (patch) | |
| tree | 093b37f5e1a275803e85731f21c77b578e9d9e4d /mrbgems/mruby-array-ext | |
| parent | 72fe54c40316acff40f7748e447db9e7bc73849d (diff) | |
| download | mruby-1aa885fae0fd870c2f2bc862daa14ad24f4e92eb.tar.gz mruby-1aa885fae0fd870c2f2bc862daa14ad24f4e92eb.zip | |
Delete unused variable in Array#delete_if
Diffstat (limited to 'mrbgems/mruby-array-ext')
| -rw-r--r-- | mrbgems/mruby-array-ext/mrblib/array.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mrbgems/mruby-array-ext/mrblib/array.rb b/mrbgems/mruby-array-ext/mrblib/array.rb index df3ab97e4..fd80fa0bb 100644 --- a/mrbgems/mruby-array-ext/mrblib/array.rb +++ b/mrbgems/mruby-array-ext/mrblib/array.rb @@ -617,7 +617,6 @@ class Array return to_enum :delete_if unless block_given? idx = 0 - len = self.size while idx < self.size do if block.call(self[idx]) self.delete_at(idx) |
