From: Arnaud Giersch Date: Tue, 17 Oct 2017 10:21:08 +0000 (+0200) Subject: Mark unused parameters. X-Git-Tag: v3.18~426^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9b647f3840334cb82a29752bd05fea454f8cffe3 Mark unused parameters. Sonar, are you happy with that? --- diff --git a/src/xbt/log.c b/src/xbt/log.c index 9738053597..8c0a3b4216 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -400,7 +400,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; }