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:
Kim Woelders 2020-02-08 08:28:45 +01:00
parent 4fb216e825
commit 36b4eff7cc
1 changed files with 0 additions and 1 deletions

View File

@ -20,7 +20,6 @@ AC_DEFUN([EC_C___ATTRIBUTE__],
AC_LANG_PROGRAM(
[[
#include <stdlib.h>
]], [[
int foo(int x __attribute__ ((unused))) { exit(1); }
]])
],