binfmt: Fix warning: unused variable ‘exidx’

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I55d3355813b8b24727e2a7f78fcd72622a1e6758
This commit is contained in:
Xiang Xiao 2020-07-20 22:36:03 +08:00 committed by Brennan Ashton
parent 5efa93ec26
commit 2b7528feae

View File

@ -248,7 +248,7 @@ static inline int elf_loadfile(FAR struct elf_loadinfo_s *loadinfo)
int elf_load(FAR struct elf_loadinfo_s *loadinfo) int elf_load(FAR struct elf_loadinfo_s *loadinfo)
{ {
size_t heapsize; size_t heapsize;
#ifdef CONFIG_CXX_EXCEPTION #ifdef CONFIG_ELF_EXIDX_SECTNAME
int exidx; int exidx;
#endif #endif
int ret; int ret;