From: David Malcolm Date: Wed, 18 Dec 2019 17:26:01 +0000 (+0000) Subject: Drop unused member from cpp_string_location_reader (PR preprocessor/92982) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6dd0c82021133b862c2250a7c6942030f191e568;p=gcc.git Drop unused member from cpp_string_location_reader (PR preprocessor/92982) libcpp/ChangeLog: PR preprocessor/92982 * charset.c (cpp_string_location_reader::cpp_string_location_reader): Delete initialization of m_line_table. * include/cpplib.h (cpp_string_location_reader::m_line_table): Delete unused member. From-SVN: r279541 --- diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 69b1c0c4940..a11da283522 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,12 @@ +2019-12-18 David Malcolm + + PR preprocessor/92982 + * charset.c + (cpp_string_location_reader::cpp_string_location_reader): Delete + initialization of m_line_table. + * include/cpplib.h (cpp_string_location_reader::m_line_table): + Delete unused member. + 2019-12-14 Jakub Jelinek PR preprocessor/92919 diff --git a/libcpp/charset.c b/libcpp/charset.c index a638a1b98fa..5da39a643d7 100644 --- a/libcpp/charset.c +++ b/libcpp/charset.c @@ -2248,7 +2248,6 @@ _cpp_default_encoding (void) cpp_string_location_reader:: cpp_string_location_reader (location_t src_loc, line_maps *line_table) -: m_line_table (line_table) { src_loc = get_range_from_loc (line_table, src_loc).m_start; diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index e199aecfa48..1349871dc38 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -912,7 +912,6 @@ class cpp_string_location_reader { private: location_t m_loc; int m_offset_per_column; - line_maps *m_line_table; }; /* A class for storing the source ranges of all of the characters within