mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
libctf, testsuite: fix various warnings in tests
These warnings are all off by default, but if they do fire you get spurious ERRORs when running make check-libctf. libctf/ChangeLog 2021-09-27 Nick Alcock <nick.alcock@oracle.com> * testsuite/libctf-lookup/enum-symbol.c: Remove unused label. * testsuite/libctf-lookup/conflicting-type-syms.c: Remove unused variables. * testsuite/libctf-regression/pptrtab.c: Likewise. * testsuite/libctf-regression/type-add-unnamed-struct.c: Likewise. * testsuite/libctf-writable/pptrtab.c: Likewise. * testsuite/libctf-writable/reserialize-strtab-corruption.c: Likewise. * testsuite/libctf-regression/nonstatic-var-section-ld-r.c: Fix format string. * testsuite/libctf-regression/nonstatic-var-section-ld.c: Likewise. * testsuite/libctf-regression/nonstatic-var-section-ld.lk: Adjust. * testsuite/libctf-writable/symtypetab-nonlinker-writeout.c: Fix initializer.
This commit is contained in:
@@ -7,7 +7,7 @@ main (int argc, char *argv[])
|
||||
{
|
||||
ctf_dict_t *pfp;
|
||||
ctf_dict_t *cfp;
|
||||
ctf_id_t base, base2, ptr, ptr2, type, last_type;
|
||||
ctf_id_t base, base2, ptr, type, last_type;
|
||||
ctf_encoding_t encoding = { CTF_INT_SIGNED, 0, sizeof (int) };
|
||||
ctf_encoding_t encoding2 = { CTF_INT_SIGNED, 0, sizeof (long) };
|
||||
char *type_name;
|
||||
|
||||
Reference in New Issue
Block a user