From 9b647f3840334cb82a29752bd05fea454f8cffe3 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 17 Oct 2017 12:21:08 +0200 Subject: [PATCH] Mark unused parameters. Sonar, are you happy with that? --- src/xbt/log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.20.1