From aaab18c9a7bf8a37f773f88426a103ea909a1c9f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 13 Oct 2018 12:07:50 +0900 Subject: [PATCH] Nuke a dead field. It looks like ex_temp_t.expr was never really used, and I have no idea what I had intended (not surprising after ~17 years). --- tools/qfcc/include/expr.h | 1 - tools/qfcc/source/expr.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/qfcc/include/expr.h b/tools/qfcc/include/expr.h index 466a11ec1..1b0206995 100644 --- a/tools/qfcc/include/expr.h +++ b/tools/qfcc/include/expr.h @@ -91,7 +91,6 @@ typedef struct { } ex_block_t; typedef struct { - struct expr_s *expr; struct operand_s *op; ///< The operand for the temporary variable, if ///< allocated struct type_s *type; ///< The type of the temporary variable. diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index a4fbf76ac..94fda5f37 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -426,7 +426,6 @@ copy_expr (expr_t *e) *n = *e; n->line = pr.source_line; n->file = pr.source_file; - n->e.temp.expr = copy_expr (e->e.temp.expr); return n; case ex_vector: n = new_expr ();