public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* gen-pass-instances.awk: Remove unused var in handle_line
@ 2015-11-12  8:09 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2015-11-12  8:09 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 135 bytes --]

Hi,

this patch removes an unused variable from handle_line in 
gen-pass-instances.awk.

Committed to trunk as trivial.

Thanks,
- Tom

[-- Attachment #2: 0002-gen-pass-instances.awk-Remove-unused-var-in-handle_line.patch --]
[-- Type: text/x-patch, Size: 751 bytes --]

gen-pass-instances.awk: Remove unused var in handle_line

2015-11-11  Tom de Vries  <tom@codesourcery.com>

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

---
 gcc/gen-pass-instances.awk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/gen-pass-instances.awk b/gcc/gen-pass-instances.awk
index a0be6a1..7f33e8c 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-12  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12  8:09 gen-pass-instances.awk: Remove unused var in handle_line Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).