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));
This commit is contained in:
Marco Hinz
2018-11-20 12:17:49 +01:00
parent 2f6364ea4b
commit fc0aeb5f88

View File

@@ -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;