libselinux: regex_writef: Mark unused argument with __attribute__((unused)).

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
Stephen Smalley 2016-09-15 13:43:24 -04:00
parent 50f0910cf0
commit 8e776b074c

View file

@ -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;