From 8e776b074cc7408f1dcd51e815194067885788b1 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 646351ba..750088ed 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;