Fix incorrect check for __attribute__ ((unused)))
Worked with gcc which allows nested functions but not with clang-analyzer which doesn't.
This commit is contained in:
parent
4fb216e825
commit
36b4eff7cc
|
@ -20,7 +20,6 @@ AC_DEFUN([EC_C___ATTRIBUTE__],
|
|||
AC_LANG_PROGRAM(
|
||||
[[
|
||||
#include <stdlib.h>
|
||||
]], [[
|
||||
int foo(int x __attribute__ ((unused))) { exit(1); }
|
||||
]])
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue