diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-06-07 15:38:48 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-06-07 15:38:48 +0300 |
commit | c9345b8aa0f7e4cf5bd30ede4138cab68b4bd938 (patch) | |
tree | c956785a09bbcb176182999addff55e4e24b3e0c /.github | |
parent | 59d1188feb5c037eeffe6ba782ab362d2bb46a2d (diff) | |
download | sciteco-c9345b8aa0f7e4cf5bd30ede4138cab68b4bd938.tar.gz |
initialize some variables in teco_state_expectqreg_input() to silence the Clang static analyzer
There was the possibility that an unitialized value is passed into a got_register_cb().
This could only happen in normal parse mode and it's unlikely to have caused problems in practice
as all callbacks should not rely on qreg being valid in parse-only mode.
This sort of bug would have also been catched by Valgrind.
The rest of the scan-build-reported warnings are bogus
(caused by not being g_auto-aware).
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions