diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2016-12-14 19:09:55 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2016-12-14 19:11:02 -0800 |
commit | 9f9ccc89f7894998d713a61a537374849797cbe0 (patch) | |
tree | ff509d6c3c166115f63fa3442ff0da05b75231c7 /configure | |
parent | 8b59612f99f6e854a3f918c40b843d8df240d1e5 (diff) |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -264,8 +264,8 @@ check_elf() #include <gelf.h> int main(void) { - Elf_Scn *scn; - GElf_Shdr shdr; + Elf_Scn *scn __attribute__((__unused__)); + GElf_Shdr shdr __attribute__((__unused__));; return elf_version(EV_CURRENT); } EOF |