diff --git a/src/match_regex.c b/src/match_regex.c
index 9233d803ede5c4113333e38bef74732b6fbb5131..1fca88986331e1c4d30257e7e0e7d73dfb9dc7a2 100644 (file)
--- a/src/match_regex.c
+++ b/src/match_regex.c
return (0);
} /* }}} int mr_destroy */
-static int mr_match (const data_set_t *ds, const value_list_t *vl, /* {{{ */
- notification_meta_t **meta, void **user_data)
+static int mr_match (const data_set_t __attribute__((unused)) *ds, /* {{{ */
+ const value_list_t *vl,
+ notification_meta_t __attribute__((unused)) **meta,
+ void **user_data)
{
mr_match_t *m;