diagnostics: fix missing initialization of context->extra_output_kind
gcc/ChangeLog: * diagnostic.cc (diagnostic_initialize): Ensure context->extra_output_kind is initialized. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
This commit is contained in:
parent
1a64156c7e
commit
f8644b6782
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ diagnostic_initialize (diagnostic_context *context, int n_opts)
|
|||
context->m_source_printing.min_margin_width = 0;
|
||||
context->m_source_printing.show_ruler_p = false;
|
||||
context->report_bug = false;
|
||||
|
||||
context->extra_output_kind = EXTRA_DIAGNOSTIC_OUTPUT_none;
|
||||
if (const char *var = getenv ("GCC_EXTRA_DIAGNOSTIC_OUTPUT"))
|
||||
{
|
||||
if (!strcmp (var, "fixits-v1"))
|
||||
|
|
Loading…
Add table
Reference in a new issue