configure: fix elftest when warnings enabled
If compile testing with -W then elftest.c would fail because of unused variables. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
8b59612f99
commit
9f9ccc89f7
|
|
@ -264,8 +264,8 @@ check_elf()
|
||||||
#include <gelf.h>
|
#include <gelf.h>
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
Elf_Scn *scn;
|
Elf_Scn *scn __attribute__((__unused__));
|
||||||
GElf_Shdr shdr;
|
GElf_Shdr shdr __attribute__((__unused__));;
|
||||||
return elf_version(EV_CURRENT);
|
return elf_version(EV_CURRENT);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue