gen-pass-instances.awk: Remove unused var in handle_line
authorTom de Vries <tom@codesourcery.com>
Thu, 12 Nov 2015 07:30:44 +0000 (07:30 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 12 Nov 2015 07:30:44 +0000 (07:30 +0000)
2015-11-12  Tom de Vries  <tom@codesourcery.com>

* gen-pass-instances.awk (handle_line): Remove unused var line_length.

From-SVN: r230206

gcc/ChangeLog
gcc/gen-pass-instances.awk

index 139b656f33e8a2a3616c7a88a47198f3bdeacc55..8cf930d72ac40d57eb364d969ce0042c7893fcea 100644 (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.
index a0be6a1002c8dadae13ea1f45716fbd2bdd9add5..7f33e8c66feab99fa3f358cdfb3649f58b7f4dd5 100644 (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)