I added this field (and the struct itself) in the rewrite of region and
value-handling (808f4dfeb3a95f50f15e71148e5c1067f90a126d), but the field
was never used.
Found by cppcheck.
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to master as 20d16d61dd22a9bfb66d5c4a383d193037e8f16d.
gcc/analyzer/ChangeLog:
* diagnostic-manager.cc (null_assignment_sm_context::m_visitor):
Remove unused field.
---
gcc/analyzer/diagnostic-manager.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/analyzer/diagnostic-manager.cc
b/gcc/analyzer/diagnostic-manager.cc
index 13dd3da606f..cb95a95ff0b 100644
--- a/gcc/analyzer/diagnostic-manager.cc
+++ b/gcc/analyzer/diagnostic-manager.cc
@@ -931,7 +931,6 @@ struct null_assignment_sm_context : public sm_context
const program_state *m_new_state;
const gimple *m_stmt;
const program_point *m_point;
- state_change_visitor *m_visitor;
checker_path *m_emission_path;
const extrinsic_state &m_ext_state;
};
--
2.26.2