From: Tom de Vries Date: Thu, 12 Nov 2015 07:30:44 +0000 (+0000) Subject: gen-pass-instances.awk: Remove unused var in handle_line X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d0ceb985f9e44dd10c634bb0a3a84a2438387b6;p=gcc.git gen-pass-instances.awk: Remove unused var in handle_line 2015-11-12 Tom de Vries * gen-pass-instances.awk (handle_line): Remove unused var line_length. From-SVN: r230206 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 139b656f33e..8cf930d72ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-11-12 Tom de Vries + + * gen-pass-instances.awk (handle_line): Remove unused var line_length. + 2015-11-12 Tom de Vries * gen-pass-instances.awk: Add emacs indent setting. diff --git a/gcc/gen-pass-instances.awk b/gcc/gen-pass-instances.awk index a0be6a1002c..7f33e8c66fe 100644 --- a/gcc/gen-pass-instances.awk +++ b/gcc/gen-pass-instances.awk @@ -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)