>From a9162c813adaadbdb632d1a71d7c6ffc3e43b1b0 Mon Sep 17 00:00:00 2001 From: Stephen Smalley Date: Thu, 15 Sep 2016 13:43:24 -0400 Subject: [PATCH] libselinux: regex_writef: Mark unused argument with __attribute__((unused)). Signed-off-by: Stephen Smalley --- libselinux/src/regex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libselinux/src/regex.c b/libselinux/src/regex.c index 646351b..750088e 100644 --- a/libselinux/src/regex.c +++ b/libselinux/src/regex.c @@ -312,7 +312,8 @@ static inline pcre_extra *get_pcre_extra(struct regex_data *regex) } } -int regex_writef(struct regex_data *regex, FILE *fp, int unused) +int regex_writef(struct regex_data *regex, FILE *fp, + int unused __attribute__((unused))) { int rc; size_t len; -- 2.7.4