From: Augustin Degomme Date: Thu, 21 Apr 2022 23:06:29 +0000 (+0200) Subject: try to help clang builds X-Git-Tag: v3.32~313 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7f2cee8eebc2cefda2dba3a487daefb1682edfe7 try to help clang builds --- 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) {