From ba445d36f97250fa1d17ca0014d7ea5dca7f6a47 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Feb 2020 13:37:40 +0100 Subject: [PATCH] Obj: remove unused fields Location::{timestamp,text} --- src/Obj.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Obj.h b/src/Obj.h index 35b9574c3b..bba40d2428 100644 --- a/src/Obj.h +++ b/src/Obj.h @@ -15,17 +15,12 @@ public: last_line = line_l; first_column = col_f; last_column = col_l; - - timestamp = 0; - text = 0; } Location() { filename = 0; first_line = last_line = first_column = last_column = 0; - timestamp = 0; - text = 0; } void Describe(ODesc* d) const; @@ -37,10 +32,6 @@ public: const char* filename; int first_line, last_line; int first_column, last_column; - - // Timestamp and text for compatibility with Bison's default yyltype. - int timestamp; - char* text; }; #define YYLTYPE yyltype