diff options
author | David Malcolm <dmalcolm@redhat.com> | 2025-07-16 18:41:26 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2025-07-16 18:41:26 -0400 |
commit | 69d1fb86194c386f17e65cd52476ecf06481677b (patch) | |
tree | fd52497176880e9dd8b8c7338883f93e913c6e79 /gcc | |
parent | 48b572ce868829828b321e0b13de3e6b04049408 (diff) | |
download | gcc-69d1fb86194c386f17e65cd52476ecf06481677b.zip gcc-69d1fb86194c386f17e65cd52476ecf06481677b.tar.gz gcc-69d1fb86194c386f17e65cd52476ecf06481677b.tar.bz2 |
diagnostics: remove redundant field
I stopped using state_diagram::m_show_tags in r16-2211-ga5d9debedd2f46
but forgot to remove the field. Do so now.
Spotted by Filip Kastl via clang's -Wunused-private-field.
gcc/ChangeLog:
* diagnostic-state-to-dot.cc (state_diagram::m_show_tags): Drop
unused field.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/diagnostic-state-to-dot.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/diagnostic-state-to-dot.cc b/gcc/diagnostic-state-to-dot.cc index 8195c11..90ceaee 100644 --- a/gcc/diagnostic-state-to-dot.cc +++ b/gcc/diagnostic-state-to-dot.cc @@ -78,9 +78,7 @@ class state_diagram : public dot::graph public: state_diagram (const diagnostics::digraphs::digraph &input_state_graph, const logical_location_manager &logical_loc_mgr) - : m_logical_loc_mgr (logical_loc_mgr), - // m_next_id (0), - m_show_tags (false) + : m_logical_loc_mgr (logical_loc_mgr) { // "node [shape=plaintext]\n" { @@ -541,8 +539,6 @@ private: std::map<diagnostics::digraphs::node *, dot::node_id> m_src_node_to_port_id; std::map<diagnostics::digraphs::node *, dot::node_id> m_dst_node_to_port_id; - - bool m_show_tags; }; std::unique_ptr<dot::graph> |