aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libctf/ChangeLog4
-rw-r--r--libctf/ctf-create.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog
index 10178bc..c700297 100644
--- a/libctf/ChangeLog
+++ b/libctf/ChangeLog
@@ -1,5 +1,9 @@
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_add_forward): Likewise.
(ctf_add_typedef): Likewise.
diff --git a/libctf/ctf-create.c b/libctf/ctf-create.c
index cf12557..c01ab7a 100644
--- a/libctf/ctf-create.c
+++ b/libctf/ctf-create.c
@@ -907,7 +907,6 @@ ctf_serialize (ctf_dict_t *fp)
ctf_next_t *i = NULL;
void *symname;
const char **walk;
- int err;
if (filter_syms)
{