Remove opth-gen.awk unused variables

Submitted by Joseph S. Myers on Sept. 2, 2010, 4:40 p.m.

Details

Message ID Pine.LNX.4.64.1009021639410.4134@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph S. Myers Sept. 2, 2010, 4:40 p.m.
In the course of options work I noticed that opth-gen.awk has some
variables that are set but not used.  This patch removes them.

Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  Applied
to mainline as obvious.

2010-09-02  Joseph Myers  <joseph@codesourcery.com>

	* opth-gen.awk (quote, comma): Remove unused variables.

Patch hide | download patch | download mbox

Index: opth-gen.awk
===================================================================
--- opth-gen.awk	(revision 163771)
+++ opth-gen.awk	(working copy)
@@ -29,8 +29,6 @@ 
 	n_langs = 0
 	n_target_save = 0
 	n_extra_masks = 0
-	quote = "\042"
-	comma = ","
 	FS=SUBSEP
 }
 
@@ -355,8 +353,6 @@ 
 
 	s = substr("                                          ",
 		   length (enum_string))
-	if (i + 1 == n_opts)
-		comma = ""
 
 	if (help[i] == "")
 		hlp = "0"