mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
diagnostics: fix missing init of set_locations_cb
gcc/ChangeLog: * diagnostic.cc (diagnostic_initialize): Initialize set_locations_cb to nullptr. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
This commit is contained in:
@@ -245,6 +245,7 @@ diagnostic_initialize (diagnostic_context *context, int n_opts)
|
||||
context->begin_group_cb = NULL;
|
||||
context->end_group_cb = NULL;
|
||||
context->final_cb = default_diagnostic_final_cb;
|
||||
context->set_locations_cb = nullptr;
|
||||
context->ice_handler_cb = NULL;
|
||||
context->includes_seen = NULL;
|
||||
context->m_client_data_hooks = NULL;
|
||||
|
||||
Reference in New Issue
Block a user