From 69d1fb86194c386f17e65cd52476ecf06481677b Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 16 Jul 2025 18:41:26 -0400 Subject: [PATCH] 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 --- gcc/diagnostic-state-to-dot.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gcc/diagnostic-state-to-dot.cc b/gcc/diagnostic-state-to-dot.cc index 8195c1148fe..90ceaee756e 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 m_src_node_to_port_id; std::map m_dst_node_to_port_id; - - bool m_show_tags; }; std::unique_ptr -- 2.47.2