kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=36b4eff7cc70dc414a818e402f9085190fd6c635

commit 36b4eff7cc70dc414a818e402f9085190fd6c635
Author: Kim Woelders <[email protected]>
Date:   Sat Feb 8 08:28:45 2020 +0100

    Fix incorrect check for __attribute__ ((unused)))
    
    Worked with gcc which allows nested functions but not with
    clang-analyzer which doesn't.
---
 m4/ec_attribute.m4 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/m4/ec_attribute.m4 b/m4/ec_attribute.m4
index 74d59768..83379fcb 100644
--- a/m4/ec_attribute.m4
+++ b/m4/ec_attribute.m4
@@ -20,7 +20,6 @@ AC_DEFUN([EC_C___ATTRIBUTE__],
       AC_LANG_PROGRAM(
       [[
 #include <stdlib.h>
-      ]], [[
 int foo(int x __attribute__ ((unused))) { exit(1); }
       ]])
     ],

-- 


Reply via email to