From 7f2cee8eebc2cefda2dba3a487daefb1682edfe7 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 22 Apr 2022 01:06:29 +0200 Subject: [PATCH] try to help clang builds --- src/xbt/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/log.cpp b/src/xbt/log.cpp index 125a963e8c..3d89d6deb3 100644 --- a/src/xbt/log.cpp +++ b/src/xbt/log.cpp @@ -205,7 +205,7 @@ static int fake_xbt_log_cat_init(xbt_log_category_t, e_xbt_log_priority_t) return 0; } #define DISABLE_XBT_LOG_CAT_INIT() \ - int (*_xbt_log_cat_init)(xbt_log_category_t, e_xbt_log_priority_t) XBT_ATTRIB_UNUSED = fake_xbt_log_cat_init + XBT_ATTRIB_UNUSED int (*_xbt_log_cat_init)(xbt_log_category_t, e_xbt_log_priority_t) = fake_xbt_log_cat_init static void _xbt_log_cat_apply_set(xbt_log_category_t category, const xbt_log_setting_t& setting) { -- 2.20.1