aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-04-13 13:06:06 +0200
committerChristopher Li <sparse@chrisli.org>2011-04-18 03:22:43 -0700
commitaaff080449ebcb66553ebf5b512f737b6191f339 (patch)
treefdc003ee8df22acdc044632f055239b6a54c99a2
parentba457c8395073a0b02fdf4fdcb1c6ecd256e081a (diff)
downloadsparse-aaff080449ebcb66553ebf5b512f737b6191f339.tar.gz
Fix build with GCC 4.6 series.
The label_statement attribute in the anonymous structures' union was duplicated for label_arg and labeled_struct alises, which were identical. Since the former is never used, delete it and leave the other as the only copy. Signed-off-by: Christopher Li <sparse@chrisli.org>
-rw-r--r--parse.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/parse.h b/parse.h
index 6b21e234..b26bd03f 100644
--- a/parse.h
+++ b/parse.h
@@ -35,10 +35,6 @@ struct statement {
struct /* declaration */ {
struct symbol_list *declaration;
};
- struct /* label_arg */ {
- struct symbol *label;
- struct statement *label_statement;
- };
struct {
struct expression *expression;
struct expression *context;