aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Elab.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Elab.ml')
-rw-r--r--cparser/Elab.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/cparser/Elab.ml b/cparser/Elab.ml
index 60772eec..e846e301 100644
--- a/cparser/Elab.ml
+++ b/cparser/Elab.ml
@@ -2365,7 +2365,6 @@ let elab_fundef env spec name defs body loc =
&& can_return then
warning loc Invalid_noreturn "function '%s' declared 'noreturn' should not return" s;
(* Build and emit function definition *)
- let inline = inline && find_custom_attributes ["noinline";"__noinline__"] attr = [] in
let fn =
{ fd_storage = sto1;
fd_inline = inline;