From 9fe8d6707bab507cbda6696e6f09b4769c327d21 Mon Sep 17 00:00:00 2001 From: Dave Cunningham Date: Sat, 2 Apr 2016 20:30:20 -0400 Subject: [PATCH] Remove unused var.original field. --- core/ast.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/ast.h b/core/ast.h index 6a6a32d16..72a2464e8 100644 --- a/core/ast.h +++ b/core/ast.h @@ -717,13 +717,8 @@ struct Unary : public AST { /** Represents variables. */ struct Var : public AST { const Identifier *id; - const Identifier *original; Var(const LocationRange &lr, const Fodder &open_fodder, const Identifier *id) - : AST(lr, AST_VAR, open_fodder), id(id), original(id) - { } - Var(const LocationRange &lr, const Fodder &open_fodder, const Identifier *id, - const Identifier *original) - : AST(lr, AST_VAR, open_fodder), id(id), original(original) + : AST(lr, AST_VAR, open_fodder), id(id) { } };