diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2024-06-19 14:06:26 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2024-06-19 14:09:12 +0100 |
commit | ab3f9145fd02d937aca3a1065103fb038bc0abb9 (patch) | |
tree | 9a40678a111283c0c3bbe940aab8f088188862b7 /.pre-commit-config.yaml | |
parent | 5445d7819ba0c00249939d1316e344f01a403607 (diff) | |
download | gdb-users/nalcock/try-enum-api.zip gdb-users/nalcock/try-enum-api.tar.gz gdb-users/nalcock/try-enum-api.tar.bz2 |
libctf: fix testsuite bugs revealed by -Wallusers/nalcock/try-enum-api
Most of these are harmless, but some of the type confusions and especially
a missing ctf_strerror() on an error path were actual bugs that could
have resulted in test failures crashing rather than printing an error
message.
libctf/
* testsuite/libctf-lookup/enumerator-iteration.c: Fix type
confusion, signedness confusion and a missing ctf_errmsg().
* testsuite/libctf-regression/libctf-repeat-cu-main.c: Return 0 from
the test function.
* testsuite/libctf-regression/open-error-free.c: Fix signedness
confusion.
* testsuite/libctf-regression/zrewrite.c: Remove unused label.
Diffstat (limited to '.pre-commit-config.yaml')
0 files changed, 0 insertions, 0 deletions