From: Jérémie Galarneau Date: Wed, 29 Aug 2018 21:21:14 +0000 (-0400) Subject: Cleanup: unused assignation of ELF parsing error X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=e5212a1dde8128fb55fac4308d54cae575b8305e Cleanup: unused assignation of ELF parsing error Signed-off-by: Jérémie Galarneau --- 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; }