diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2024-01-30 14:18:54 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2024-03-11 17:16:12 +0000 |
commit | 9b9e262994636841de04b433413e8987b16fcbaa (patch) | |
tree | 16ff660c361e13c7ed9826e17f1562f7f9f5c6c5 /gdb | |
parent | 02b2f397039270cbe00f61097ed93b872723e1f4 (diff) | |
download | gdb-9b9e262994636841de04b433413e8987b16fcbaa.zip gdb-9b9e262994636841de04b433413e8987b16fcbaa.tar.gz gdb-9b9e262994636841de04b433413e8987b16fcbaa.tar.bz2 |
libctf: fix uninitialized variables in testsuite
Just because a path is an error path doesn't mean the program terminates
there if you don't ask it to. And we don't want to -- but that means
we need to initialize the variables that are missed if an error happens to
*something*. Type ID 0 (unimplemented) will do: it'll induce further
ECTF_BADID errors, but that's no bad thing.
libctf/ChangeLog:
* testsuite/libctf-writable/libctf-errors.c: Initialize variables.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions