From: Arnaud Giersch Date: Mon, 16 Oct 2017 21:26:46 +0000 (+0200) Subject: Variable may be unused. X-Git-Tag: v3.18~430 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9712e9b69da18f664d51ce81323234f18494fdd3?ds=sidebyside Variable may be unused. --- diff --git a/src/xbt/log.c b/src/xbt/log.c index 3ec0c9cea1..9738053597 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -405,7 +405,7 @@ static int fake_xbt_log_cat_init(xbt_log_category_t category, e_xbt_log_priority return 0; } #define DISABLE_XBT_LOG_CAT_INIT() \ - int (*_xbt_log_cat_init)(xbt_log_category_t, e_xbt_log_priority_t) = fake_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; static void _xbt_log_cat_apply_set(xbt_log_category_t category, xbt_log_setting_t setting) {