diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-02 23:09:25 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-02 23:09:25 +0900 |
| commit | fae537259da3dd61fb62ae65d382a0ddc7c215dc (patch) | |
| tree | 102ea1609bab37565c23628d7e8e65570fe3809b /include/ruby/debug.h | |
| parent | f5806eb2067f905d71bdce0553dcfeb8585d1371 (diff) | |
Removed no longer used variable `last_hash`
1. By substituting `n_var` with its initializer, `0 < n_var` is
equivalent to `argc > argi + n_trail`.
2. As `argi` is non-negative, so `argi + n_trail >= n_trail`, and
the above expression is equivalent to `argc > n_trail`.
3. Therefore, `f_last` is always false, and `last_hash` is no
longer used.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2873
Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions
