aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"