X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9712e9b69da18f664d51ce81323234f18494fdd3..cba7a4411e9eb8cd10066db126c413363c65111a:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 9738053597..5479e4d968 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -108,6 +108,7 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(xbt_dict_elm); XBT_LOG_CONNECT(xbt_dyn); XBT_LOG_CONNECT(xbt_ex); + XBT_LOG_CONNECT(xbt_automaton); XBT_LOG_CONNECT(xbt_backtrace); XBT_LOG_CONNECT(xbt_exception); XBT_LOG_CONNECT(xbt_graph); @@ -400,7 +401,8 @@ void _xbt_log_event_log(xbt_log_event_t ev, const char *fmt, ...) * To circumvent the problem, we define the macro DISABLE_XBT_LOG_CAT_INIT() to hide the real _xbt_log_cat_init(). The * macro has to be called at the beginning of the affected functions. */ -static int fake_xbt_log_cat_init(xbt_log_category_t category, e_xbt_log_priority_t priority) +static int fake_xbt_log_cat_init(xbt_log_category_t XBT_ATTRIB_UNUSED category, + e_xbt_log_priority_t XBT_ATTRIB_UNUSED priority) { return 0; }