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.

Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r16-2308-g69d1fb86194c38.

gcc/ChangeLog:
        * diagnostic-state-to-dot.cc (state_diagram::m_show_tags): Drop
        unused field.

Signed-off-by: David Malcolm <dmalc...@redhat.com>
---
 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 8195c1148fe0..90ceaee756e3 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>
-- 
2.26.3

Reply via email to