aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-09-02 17:39:29 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2010-09-02 17:39:29 +0100
commit398da2ac319656b0318279edecdaf88e7fccc3c9 (patch)
tree4632c56165d83da63dacb4385a9d101faf3face2 /gcc
parentd1779886d51180b8730d31cebbf3cca59bf37745 (diff)
downloadgcc-398da2ac319656b0318279edecdaf88e7fccc3c9.zip
gcc-398da2ac319656b0318279edecdaf88e7fccc3c9.tar.gz
gcc-398da2ac319656b0318279edecdaf88e7fccc3c9.tar.bz2
* opth-gen.awk (quote, comma): Remove unused variables.
From-SVN: r163785
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/opth-gen.awk4
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d415b4d..474d62e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-02 Joseph Myers <joseph@codesourcery.com>
+
+ * opth-gen.awk (quote, comma): Remove unused variables.
+
2010-09-02 Ryan Mansfield <rmansfield@qnx.com>
* arm.c (arm_override_options): Correct fall-back code to use
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk
index 9d3ea9e..4f765c2 100644
--- a/gcc/opth-gen.awk
+++ b/gcc/opth-gen.awk
@@ -29,8 +29,6 @@ BEGIN {
n_langs = 0
n_target_save = 0
n_extra_masks = 0
- quote = "\042"
- comma = ","
FS=SUBSEP
}
@@ -355,8 +353,6 @@ for (i = 0; i < n_opts; i++) {
s = substr(" ",
length (enum_string))
- if (i + 1 == n_opts)
- comma = ""
if (help[i] == "")
hlp = "0"