From e5212a1dde8128fb55fac4308d54cae575b8305e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 29 Aug 2018 17:21:14 -0400 Subject: [PATCH] Cleanup: unused assignation of ELF parsing error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/common/lttng-elf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/lttng-elf.c b/src/common/lttng-elf.c index 62d8d9246..118fc75af 100644 --- a/src/common/lttng-elf.c +++ b/src/common/lttng-elf.c @@ -331,7 +331,6 @@ struct lttng_elf_shdr *lttng_elf_get_section_hdr(struct lttng_elf *elf, ret = populate_section_header(elf, section_header, index); if (ret) { - ret = LTTNG_ERR_ELF_PARSING; DBG("Error populating section header."); goto error; } -- 2.34.1