]> git.ipfire.org Git - thirdparty/gcc.git/commit
sarif-replay: fix uninitialized m_debug_physical_locations
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 17 Sep 2025 20:39:31 +0000 (16:39 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 17 Sep 2025 20:39:31 +0000 (16:39 -0400)
commitddabda614fed35583640a437bb641c42466476bc
tree3ec413be7a11676345349879e7f3de293af37037
parent2664206495418ab5d09d9f00a0cc9af94f29b871
sarif-replay: fix uninitialized m_debug_physical_locations

In r16-2766-g7969e4859ed007 I added a new field to replay_opts
but forgot to initialize it in set_defaults.

Fixed thusly.

Spotted thanks to valgrind.

gcc/ChangeLog:
* sarif-replay.cc (set_defaults): Initialize
m_debug_physical_locations.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/sarif-replay.cc