]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: fix missing init of set_locations_cb
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 2 Oct 2023 16:16:54 +0000 (12:16 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 2 Oct 2023 16:16:54 +0000 (12:16 -0400)
commitc64693fb885f21fafa01d67c5d85e11942770a7c
tree3a1c41d668c1485bfe81f2109dbaadf65b03963c
parent0731889c026bfe8d55c4851422ca5ec9d037f7a0
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>
gcc/diagnostic.cc