From fc0aeb5f88eccb4c816ba68bfa2902d621067c4e Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 20 Nov 2018 12:17:49 +0100 Subject: [PATCH] xenial: fix clang error messages * Remove FUNC_ATTR_NONNULL_ALL from function without pointer arguments. Otherwise the ASAN build would complain: error: 'nonnull' attribute applied to function with no pointer arguments [-Werror,-Wignored-attributes] static void do_autocmd_focusgained(_Bool gained) __attribute__((nonnull)); --- src/nvim/aucmd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/nvim/aucmd.c b/src/nvim/aucmd.c index fc421116ea..9ad3414b79 100644 --- a/src/nvim/aucmd.c +++ b/src/nvim/aucmd.c @@ -26,7 +26,6 @@ void aucmd_schedule_focusgained(bool gained) } static void do_autocmd_focusgained(bool gained) - FUNC_ATTR_NONNULL_ALL { static bool recursive = false;