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:
Tom de Vries 2015-11-12 07:30:44 +00:00 committed by Tom de Vries
parent a3a5ff4286
commit 3d0ceb985f
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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)