gen-pass-instances.awk: Remove unused var in handle_line
2015-11-12 Tom de Vries <tom@codesourcery.com> * gen-pass-instances.awk (handle_line): Remove unused var line_length. From-SVN: r230206
This commit is contained in:
parent
a3a5ff4286
commit
3d0ceb985f
|
@ -1,3 +1,7 @@
|
|||
2015-11-12 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* gen-pass-instances.awk (handle_line): Remove unused var line_length.
|
||||
|
||||
2015-11-12 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* gen-pass-instances.awk: Add emacs indent setting.
|
||||
|
|
|
@ -47,7 +47,6 @@ function handle_line()
|
|||
len_of_start = length("NEXT_PASS (")
|
||||
len_of_end = length(")")
|
||||
len_of_pass_name = RLENGTH - (len_of_start + len_of_end)
|
||||
line_length = length(line)
|
||||
pass_starts_at = where + len_of_start
|
||||
pass_name = substr(line, pass_starts_at, len_of_pass_name)
|
||||
if (pass_name in pass_counts)
|
||||
|
|
Loading…
Reference in New Issue