We declare a variable to hold errors at two scopes, and then initialize
the inner one and jump to a scope where only the outer one is in scope.
The consequences are minor: only the version of the error message
printed in the debugging stream is impacted.
libctf/ChangeLog
2021-01-27 Nick Alcock <nick.alcock@oracle.com>
* ctf-create.c (ctf_serialize): Fix shadowing.
+2021-01-27 Nick Alcock <nick.alcock@oracle.com>
+
+ * ctf-create.c (ctf_serialize): Fix shadowing.
+
2021-01-27 Nick Alcock <nick.alcock@oracle.com>
* ctf-create.c (ctf_add_encoded): Add check for non-empty name.
ctf_next_t *i = NULL;
void *symname;
const char **walk;
- int err;
if (filter_syms)
{